Thread (15 messages) 15 messages, 3 authors, 2016-03-29

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

From: hch@infradead.org (Christoph Hellwig)
Date: 2016-02-24 19:33:58

On Wed, Feb 24, 2016@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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help