[PATCHv4-4.5 2/7] NVMe: Use IDA for namespace disk naming

Christoph Hellwig hch at infradead.org
Wed Feb 24 11:33:58 PST 2016


On Wed, Feb 24, 2016 at 09:15:53AM -0700, Keith Busch wrote:
> A namespace may be detached from a controller, but a user may be holding
> a reference to it. Attaching a new namespace with the same NSID will create
> duplicate names when using the NSID to name the disk.
> 
> This patch uses an IDA that is released only when the last reference is
> released instead of using the namespace ID.
> 
> Signed-off-by: Keith Busch <keith.busch at intel.com>

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list