Skip to contentSkip to conversation

RFC: multipath-tools: NVMe native multipath and default setting for "enable_foreign"

DISCUSSION Martin Wilck 2 participants 2 messages Feb 19, 2020 – Feb 25, 2020 Device mapper

lore
Share & tools
lore
#0 lore raw

multipath-tools has support for "foreign" libraries in multipath-tools since 0.8.0, and support for enabling/disabling them at runtime since 0.8.3.

The only foreign library that exists is "nvme" (for native NVMe multipath), and it's likely to remain so for some time. Currently upstream multipath-tools ships with all foreign libraries enabled by default, and documentation about how to disable them.

There's an ongoing discussion between myself and folks from Netapp about changing the code such that the nvme library is disabled by default. People at Netapp are worried that multipath's output for NVMe native multipath maps would confuse customers and break scripts. I've suggested that Netapp simply ship a drop-in configuration file to be put in /etc/multipath/conf.d to disable the nvme library, but I'm told that customers are wary about vendor-supplied configuration files.

For SUSE's enterprise product, SLE, we have made this change and disabled the nvme library by default. Now Netapp is asking me to forward this change upstream. Personally, I'm not too fond of the proposal, because I think the original idea (enable people to use the tools they are used to) is still valid (*). OTOH, the "nvme" tool can provide similar information and is likely to be used by NVMe users anyway, so perhaps there's no urgent need for this functionality in multipath-tools any more.

I really don't know if people out there find this feature rather helpful or rather confusing. Therefore I'd like to ask for opinions here on the list.

Regards,
Martin

(*) Also because I, myself, have put quite some effort into the "foreign/nvme" feature and wouldn't be happy to see it go away.

#1 lore raw
Quoted 26 lines · Martin Wilck

multipath-tools has support for "foreign" libraries in multipath-tools since 0.8.0, and support for enabling/disabling them at runtime since 0.8.3.

The only foreign library that exists is "nvme" (for native NVMe multipath), and it's likely to remain so for some time. Currently upstream multipath-tools ships with all foreign libraries enabled by default, and documentation about how to disable them.

There's an ongoing discussion between myself and folks from Netapp about changing the code such that the nvme library is disabled by default. People at Netapp are worried that multipath's output for NVMe native multipath maps would confuse customers and break scripts. I've suggested that Netapp simply ship a drop-in configuration file to be put in /etc/multipath/conf.d to disable the nvme library, but I'm told that customers are wary about vendor-supplied configuration files.

For SUSE's enterprise product, SLE, we have made this change and disabled the nvme library by default. Now Netapp is asking me to forward this change upstream. Personally, I'm not too fond of the proposal, because I think the original idea (enable people to use the tools they are used to) is still valid (*). OTOH, the "nvme" tool can provide similar information and is likely to be used by NVMe users anyway, so perhaps there's no urgent need for this functionality in multipath-tools any more.

Quoted 3 lines

I really don't know if people out there find this feature rather helpful or rather confusing. Therefore I'd like to ask for opinions here on the list.

In RHEL we don't disable them in the builtin defaults, since we already had a release with them enabled. Instead we disable them in the default config file that we use (at Netapp's request).

In the next major RHEL release, I have nothing really against disabling them by default. Unfortunately, since they are now disabled in for most users in SLE and RHEL, it's hard to guage how much interest people have in them. I do think that some people will find them useful, and not want to change their config file to use them (especially since they may not have any dm-multipathed devices at all, and not really need a config file). Perhaps disabling them by default, but including command line option to enable all foreign libraries would be a reasonable compromise. Then people who wanted to use this for native NVMe would just add something like "-e" (for enable all foreign libraries) to their commands.

-Ben

Quoted 6 lines

Regards,
Martin

(*) Also because I, myself, have put quite some effort into the "foreign/nvme" feature and wouldn't be happy to see it go away.