[PATCH 4/4] nvme: check that EUI/GUID/UUID are globally unique

Keith Busch kbusch at kernel.org
Mon Jun 6 14:58:23 PDT 2022


On Mon, Jun 06, 2022 at 09:51:55PM +0000, Alan Adamson wrote:
> > On Jun 6, 2022, at 2:38 PM, Keith Busch <kbusch at kernel.org> wrote:
> > 
> > Shouldn't the nvme-passthrough target just change the cntlid so it looks like
> > two controllers in the same subsystem? That would just need to stop overriding
> > the subsysnqn, which is what currently happens.
> 
> That was my original proposal a while ago, though I wasn’t certain what to change. Should the UUID/GUID just be zeroed out?  Is it ok to do that for all passthru targets?

Can't the namespace id's be left the unmodified? The loop and pcie targets
would just look like two paths to the same namespace, which is essentially what
they are.



More information about the Linux-nvme mailing list