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

Christoph Hellwig hch at lst.de
Thu Feb 24 08:51:38 PST 2022


On Thu, Feb 24, 2022 at 07:43:04AM -0800, Keith Busch wrote:
> It looks like a race condition exists here such that two namespaces with
> duplicate IDs in different subsystems being concurrently added may not
> see the duplicate.

Yes.  But do we care?  This is a sanity check.  The alternative would be
to hold nvme_subsystems_lock for the whole ns_head probing, which is
a little annoying.



More information about the Linux-nvme mailing list