All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Busch <keith.busch@intel.com>
To: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: dm-devel@redhat.com
Subject: Re: [PATCH 1/2] Don't blacklist nvme
Date: Tue, 14 Feb 2017 18:00:23 -0500	[thread overview]
Message-ID: <20170214230023.GA1148@localhost.localdomain> (raw)
In-Reply-To: <941dc20e-47ba-5b9d-5082-a87ff1530cb6@sandisk.com>

On Tue, Feb 14, 2017 at 01:35:45PM -0800, Bart Van Assche wrote:
> On 02/14/2017 01:19 PM, Keith Busch wrote:
> > These devices are mulitpath capable, and have been able to stack with
> > dm-mpath since kernel 4.2.
> > 
> > -	str = STRDUP("^(ram|raw|loop|fd|md|dm-|sr|scd|st|dcssblk|nvme)[0-9]");
> > +	str = STRDUP("^(ram|raw|loop|fd|md|dm-|sr|scd|st|dcssblk)[0-9]");
> 
> Have you checked whether dm-mpath works properly with nvme? Last time I
> tried that dm-mpath crashed when it called scsi_dh_attach() because that
> last function assumes that it is passed a SCSI device queue instead of
> checking whether or not the queue passed to that function is a SCSI
> device queue.

Good point. I was unknowingly running with CONFIG_SCSI_DH disabled,
and blissfully unaware of its existence! After enabling that option,
I see what you mean.

If we don't want to mess with the kernel, I can change the multipath-tools
to get around that by appending the following to NVMe hwentry in the
second patch in this series:

	.retain_hwhandler = RETAIN_HWHANDLER_OFF,

And the problem goes away.

I'm not sure yet what the other implications are of setting that (I will
look into it, but I'm out of time today).

  reply	other threads:[~2017-02-14 23:00 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 [this message]
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     ` [dm-devel] " Bart Van Assche
2017-02-16  5:00       ` 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     ` [dm-devel] " Christoph Hellwig
2017-02-16 14:26       ` 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         ` [dm-devel] " Christoph Hellwig
2017-02-17  9:33           ` 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=20170214230023.GA1148@localhost.localdomain \
    --to=keith.busch@intel.com \
    --cc=bart.vanassche@sandisk.com \
    --cc=dm-devel@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.