]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Implement namespace list scanning
authorAshok Vairavan <ashok.vairavan@oracle.com>
Mon, 10 Oct 2016 19:13:01 +0000 (12:13 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 16 Oct 2016 03:38:45 +0000 (20:38 -0700)
commit77b7ebc5f8cf950257ce9f39a7a107bb82a43627
tree2bb4d6faa6740acfbc02895e9521d6e9fdb595e3
parent5b0d6b695b349707d1636d2fc834476268600273
NVMe: Implement namespace list scanning

The NVMe 1.1 specification provides an identify mode to return a
list of active namespaces. This is more efficient to discover which
namespace identifiers are active on a controller, providing potentially
significant improvement in scan time for controllers with sparesly
populated namespaces.

Signed-off-by: Keith Busch <keith.busch@intel.com>
[hch: add quirk for the broken Qemu Identify implementation.  To be relaxed
 later]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 540c801c65eb58e05e0ca38b6fd644a83d7e2b33)

Orabug: 24583236
Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
drivers/nvme/host/pci.c