From: Christoph Hellwig <hch@infradead.org>
To: Mike Snitzer <snitzer@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>,
Keith Busch <keith.busch@intel.com>,
dm-devel@redhat.com, linux-scsi@vger.kernel.org,
linux-nvme@lists.infradead.org
Subject: Re: [dm-devel] hch's native NVMe multipathing [was: Re: [PATCH 1/2] Don't blacklist nvme]
Date: Fri, 17 Feb 2017 01:33:06 -0800 [thread overview]
Message-ID: <20170217093306.GA5389@infradead.org> (raw)
In-Reply-To: <20170216151337.GA12678@redhat.com>
On Thu, Feb 16, 2017 at 10:13:37AM -0500, Mike Snitzer wrote:
> Not following what you're saying Keith did. Please feel free to
> clarify.
Keith demonstrated what it takes to support NVMe with dm. He also
gave a couple presentations on it in addition to various ptches on
the list.
> The middle man is useful if it can support all transports. If it only
> supports some then yeah the utility is certainly reduced.
Again let's look at what multipathing involves:
- discovery of multiple paths for a device, and path preferences:
Storage protocol specific
- handling of path state and grouping changes:
Storage protocol specific
- handling of path up / down events:
Storage protocol / transport specific if provided
- keep alive / path checking:
Storage protocol specific with possible generic fallback
- path selection:
Generic, although building heavily on protocol / transport specific
information
So most of the hard work is transport specific anyway. And I fully
agree that generic code should be, well generic. And with generic
I mean right in the block layer instead of involving a layer block
driver that relies on lots of low-level driver information and setup
from user space.
> I'm going to look at removing any scsi_dh code from DM multipath
> (someone already proposed removing the 'retain_attached_hw_handler'
> feature). Not much point having anything in DM multipath now that scsi
> discovery has the ability to auto-attach the right scsi_dh via scsi_dh's
> .match hook.
Great.
> As a side-effect it will fix Keith's scsi_dh crash (when
> operating on NVMe request_queue).
I think we'll need to have a quick fix for that ASAP, though.
> My hope is that your NVMe equivalent for scsi_dh will "just work" (TM)
> like scsi_dh auto-attach does. There isn't a finished ALUA equivalent
> standard for NVMe so I'd imagine at this point you have a single device
> handler for NVMe to do error translation?
Yes, error translation for the block layer, but most importantly
discovery of multiple paths to the same namespace.
WARNING: multiple messages have this Message-ID (diff)
From: hch@infradead.org (Christoph Hellwig)
Subject: [dm-devel] hch's native NVMe multipathing [was: Re: [PATCH 1/2] Don't blacklist nvme]
Date: Fri, 17 Feb 2017 01:33:06 -0800 [thread overview]
Message-ID: <20170217093306.GA5389@infradead.org> (raw)
In-Reply-To: <20170216151337.GA12678@redhat.com>
On Thu, Feb 16, 2017@10:13:37AM -0500, Mike Snitzer wrote:
> Not following what you're saying Keith did. Please feel free to
> clarify.
Keith demonstrated what it takes to support NVMe with dm. He also
gave a couple presentations on it in addition to various ptches on
the list.
> The middle man is useful if it can support all transports. If it only
> supports some then yeah the utility is certainly reduced.
Again let's look at what multipathing involves:
- discovery of multiple paths for a device, and path preferences:
Storage protocol specific
- handling of path state and grouping changes:
Storage protocol specific
- handling of path up / down events:
Storage protocol / transport specific if provided
- keep alive / path checking:
Storage protocol specific with possible generic fallback
- path selection:
Generic, although building heavily on protocol / transport specific
information
So most of the hard work is transport specific anyway. And I fully
agree that generic code should be, well generic. And with generic
I mean right in the block layer instead of involving a layer block
driver that relies on lots of low-level driver information and setup
from user space.
> I'm going to look at removing any scsi_dh code from DM multipath
> (someone already proposed removing the 'retain_attached_hw_handler'
> feature). Not much point having anything in DM multipath now that scsi
> discovery has the ability to auto-attach the right scsi_dh via scsi_dh's
> .match hook.
Great.
> As a side-effect it will fix Keith's scsi_dh crash (when
> operating on NVMe request_queue).
I think we'll need to have a quick fix for that ASAP, though.
> My hope is that your NVMe equivalent for scsi_dh will "just work" (TM)
> like scsi_dh auto-attach does. There isn't a finished ALUA equivalent
> standard for NVMe so I'd imagine at this point you have a single device
> handler for NVMe to do error translation?
Yes, error translation for the block layer, but most importantly
discovery of multiple paths to the same namespace.
next prev parent reply other threads:[~2017-02-17 9:33 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 21:19 [PATCH 1/2] Don't blacklist nvme Keith Busch
2017-02-14 21:19 ` [PATCH 2/2] Fill NVMe specific path info Keith Busch
2017-02-20 17:57 ` Benjamin Marzinski
2017-02-21 21:06 ` Keith Busch
2017-02-14 21:35 ` [PATCH 1/2] Don't blacklist nvme Bart Van Assche
2017-02-14 23:00 ` Keith Busch
2017-02-15 14:57 ` Christoph Hellwig
2017-02-15 17:24 ` Keith Busch
2017-02-16 1:58 ` Mike Snitzer
2017-02-16 2:01 ` Mike Snitzer
2017-02-16 2:35 ` Mike Snitzer
2017-02-15 14:56 ` Christoph Hellwig
2017-02-16 2:53 ` hch's native NVMe multipathing [was: Re: [PATCH 1/2] Don't blacklist nvme] Mike Snitzer
2017-02-16 2:53 ` Mike Snitzer
2017-02-16 5:00 ` Bart Van Assche
2017-02-16 5:00 ` [dm-devel] " Bart Van Assche
2017-02-16 12:37 ` Mike Snitzer
2017-02-16 12:37 ` Mike Snitzer
2017-02-16 19:46 ` Bart Van Assche
2017-02-16 19:46 ` Bart Van Assche
2017-02-16 20:23 ` Mike Snitzer
2017-02-16 20:23 ` Mike Snitzer
2017-02-16 20:58 ` Bart Van Assche
2017-02-16 20:58 ` Bart Van Assche
2017-02-16 14:26 ` Christoph Hellwig
2017-02-16 14:26 ` [dm-devel] " Christoph Hellwig
2017-02-16 15:13 ` Mike Snitzer
2017-02-16 15:13 ` Mike Snitzer
2017-02-16 17:38 ` Keith Busch
2017-02-16 17:38 ` Keith Busch
2017-02-16 17:37 ` Bart Van Assche
2017-02-16 17:37 ` Bart Van Assche
2017-02-16 18:07 ` Keith Busch
2017-02-16 18:07 ` Keith Busch
2017-02-16 18:21 ` Mike Snitzer
2017-02-16 18:21 ` Mike Snitzer
2017-02-16 20:40 ` Keith Busch
2017-02-16 20:40 ` Keith Busch
2017-02-17 9:04 ` [dm-devel] " hch
2017-02-17 9:04 ` hch
2017-02-17 14:43 ` Mike Snitzer
2017-02-17 14:43 ` Mike Snitzer
2017-02-16 18:05 ` Sagi Grimberg
2017-02-16 18:05 ` Sagi Grimberg
2017-02-17 9:05 ` [dm-devel] " Christoph Hellwig
2017-02-17 9:05 ` Christoph Hellwig
2017-02-17 14:37 ` Mike Snitzer
2017-02-17 14:37 ` Mike Snitzer
2017-02-17 9:33 ` Christoph Hellwig [this message]
2017-02-17 9:33 ` [dm-devel] " Christoph Hellwig
2017-02-17 14:32 ` Mike Snitzer
2017-02-17 14:32 ` Mike Snitzer
2017-02-20 18:17 ` [PATCH 1/2] Don't blacklist nvme Benjamin Marzinski
2017-02-20 14:14 ` Mike Snitzer
2017-02-27 5:37 ` Christophe Varoqui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170217093306.GA5389@infradead.org \
--to=hch@infradead.org \
--cc=dm-devel@redhat.com \
--cc=keith.busch@intel.com \
--cc=linux-nvme@lists.infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=snitzer@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.