[RFC PATCH 2/2] nvme-multipath: remove multipath module param
Christoph Hellwig
hch at lst.de
Tue Apr 22 00:36:54 PDT 2025
On Fri, Apr 18, 2025 at 07:52:06PM +0530, Nilay Shroff wrote:
> I don't know how to make this option per-controller as you know the
> head node, typically, refers to namespace paths and each path then
> refers to different controller. So if we were to make this option
> per controller then how could we handle it in case one controller has
> this option set but then the another controller doesn't set this
> option. It could be confusing.
>
> How about module option "nvme_core.multipath_head_always"? The default is
> set to false. So now it becomes two step process:
> 1. modprobe nvme_core multipath_head_always=Y && modprobe nvme
> 2. echo "<val>" > /sys/block/nvme0XnY/delayed_shutdown_sec
That's probably the best we can do.
More information about the Linux-nvme
mailing list