[PATCH 0/4] nvme: make core.nvme_multipath configurable

John Meneghini jmeneghi at redhat.com
Thu Feb 27 19:25:37 PST 2025


These patches propose an alternative to outright removing the multipath
module parameter. Rather than deleting this module parameter we control
its appearance with a new Kconfig option named NVME_MULTIPATH_PARAM

Note that the default kernel config settings produce a kernel
with no change in functionality. By default both NVME_MULTIPATH
and NVME_MULTIPATH_PARAM are enabled and there are no user visable
changes.

To remove the core.nvme_multipath parameter simply compile with
NVME_MULTIPATH_PARAM=n.

Hopefully this compromise gives everyone what they want.

Closes: https://lore.kernel.org/linux-nvme/20250204211158.43126-1-bgurney@redhat.com/

John Meneghini (4):
  nvme-multipath: change the NVME_MULTIPATH config option
  nvme-multipath: add the NVME_MULTIPATH_PARAM config option
  nvme: update the multipath warning in nvme_init_ns_head
  nvme: add mulitipath warning to nvme_alloc_ns

 drivers/nvme/host/Kconfig     | 28 ++++++++++++++++++++++++----
 drivers/nvme/host/core.c      | 19 ++++++++++++++++++-
 drivers/nvme/host/multipath.c |  3 ++-
 3 files changed, 44 insertions(+), 6 deletions(-)

-- 
2.48.1




More information about the Linux-nvme mailing list