[PATCH] nvme: remove multipath module parameter
John Meneghini
jmeneghi at redhat.com
Tue Mar 11 20:08:37 PDT 2025
On 2/26/25 4:55 AM, Hannes Reinecke wrote:
> Plus there are some NVMe devices out there which _despite_ being PCIe do report NMIC and CMIC set
> (I won't name names, if you came across them you'll know). This is causing stacking drivers (most notably MD)
> to behave vastly different on hotplug. Having the module option is an easy way of debugging (and, in quite
> some cases, fixing) the issue.
So some MD driver configurations that use PCIe devices that report CMIC and NMIC need to turn off
core.nvme_multipath. Is that what you're saying? Are these PCIe devices multiported?
> If the module option really causes issues just make it read-only; that
> way you can still set if if absolutely required, and at the same time
> catch installations which try to modify it.
If we do that the parameter can't be used to support use cases like your MD driver, or Kieth's ublk driver.
/John
More information about the Linux-nvme
mailing list