CONFIG_NVME_MULTIPATH - Do we need this?

Guixin Liu kanie at linux.alibaba.com
Thu Nov 14 17:40:47 PST 2024


在 2024/11/13 08:23, John Meneghini 写道:
> Now that RHEL-10 beta has shipped we no longer support anything but 
> native nvme multi-pathing and I'd like to do something about the 
> multipath module parameter:
>
> bool multipath = true;
> module_param(multipath, bool, 0444);
> MODULE_PARM_DESC(multipath,
>         "turn on native support for multiple controllers per subsystem");
>
> I'd like to remove this parameter from nvme_core/multipath.c. The fact 
> is, setting nvme_core.multipath=N never worked in anything but RHEL 
> and keeping it around only causes confusion.
>
> For that matter, I'd like to remove the CONFIG_NVME_MULTIPATH kconfig 
> option altogether.
>
> Does anybody actually use this?
>
> # CONFIG_NVME_MULTIPATH is not set
>
> Do we actually support running nvme without multipath.c ?
>
If the user want use dm-multipath instead of nvme-multipath, but the 
kernel's CONFIG_NVME_MULTIPATH is y, they can set this parameter to 
disable nvme-multipath.

Best Regards,

Guixin Liu




More information about the Linux-nvme mailing list