Re: [PATCH 1/1] nvme: always enable multipath

From: John Meneghini
Date: Fri Nov 22 2024 - 13:30:13 EST


On 11/22/24 13:15, Keith Busch wrote:> If you want to change the driver to prevent exposing subsequent
namepsace path block devices when multipath is not enabled, that is
probably fine.

OK, we'll work on another patch to do this. The plan will be:

When CONFIG_NVME_MULTIPATH=y, you get multipath.c and full support for both nvme multipath (CMIC/NMIC = 1) and non-multipath devices (CMIC/NMIC=0) devices with 1 /dev entry per namespace.

When CONFIG_NVME_MULTIPATH=n, you get support for non-multipath devices (CMIC/NMIC=0) devices, but multipath devices (CMIC/NMIC=1) will only expose the first controller/namespace path.

/John