Re: [PATCH] nvme: remove multipath module parameter

From: John Meneghini
Date: Tue Mar 11 2025 - 23:09:10 EST


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