[PATCH 1/1] nvme-multipath: show wrong nvme ns after dlpar a nvme device

Keith Busch kbusch at kernel.org
Fri May 27 13:52:13 PDT 2022


On Fri, May 27, 2022 at 10:49:37AM -0500, wenxiong at linux.ibm.com wrote:
> From: Wen Xiong <wenxiong at linux.ibm.com>
> 
> If we have an active partition/namespace on nvme device, nvme device driver
> won’t release these controller IDs/Namespaces IDs when dlpar remove.
> So we got the wrong nvme devices names if nvme device driver still use old
> subsystem id as controller id when dlpar add it back. We expect to see new
> nvme devices with new controller IDs/Namespace IDs.

It was done this way on purpose. You can dynamically detach and attach
namespaces to any controller in the subsystem, so naming the namespace after
the controller instance doesn't help.



More information about the Linux-nvme mailing list