From: snitzer@redhat.com (Mike Snitzer)
Subject: Disable Native NVMe Multipath Support
Date: Tue, 17 Apr 2018 16:52:55 -0400 [thread overview]
Message-ID: <20180417205255.GB29501@redhat.com> (raw)
In-Reply-To: <DE927C68B458BE418D582EC97927A9287FEB6848@ORSMSX113.amr.corp.intel.com>
On Mon, Apr 16 2018 at 4:52pm -0400,
Gruher, Joseph R <joseph.r.gruher@intel.com> wrote:
> Hi everyone-
>
> I'm doing some testing with the native NVMe multipath support in an
> NVMeoF environment. In Ubuntu with kernel 4.15.15 it seems to be
> enabled by default and "just works" without taking any steps to set it
> up. If I connect the same namespace from my target to my initiator
> using two different network paths it results in a single namespace on
> the initiator. Then I can fail either network path and still run IO
> to the namespace.
>
> I'd like to now set up dm-multipath for comparison. It looks like
> I'll need to disable the native NVMe multipath support to do this,
> otherwise I can't connect the same namespace via two paths and have it
> show up on the initiator as two separate namespaces for dm-multipath
> to use. Is there an quick and easy way to do disable the native NVMe
> multipath support, or is rebuilding the kernel with
> CONFIG_NVME_MULTIPATH=N the only option?
Current upstream kernel needs to be rebuilt with CONFIG_NVME_MULTIPATH=N
AFAIK Keith Busch is working on a patch to fix crashes when multiple
namespaces are created with an nvme_core that is compiled for multipath
but disabled at module load, e.g.: modprobe nvme_core multipath=N (or
nvme_core.multipath=N on kernel commandline)
See:
http://lists.infradead.org/pipermail/linux-nvme/2018-April/016765.html
FYI, when testing DM multipath ontop of NVMe you should use
dm-multipath's table argument: queue_mode=bio
prev parent reply other threads:[~2018-04-17 20:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-16 20:52 Disable Native NVMe Multipath Support Gruher, Joseph R
2018-04-17 20:52 ` Mike Snitzer [this message]
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=20180417205255.GB29501@redhat.com \
--to=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.