]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Implement namespace list scanning
authorKeith Busch <keith.busch@intel.com>
Thu, 22 Oct 2015 21:45:06 +0000 (15:45 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:30 +0000 (13:41 -0700)
commit0c18453858b16be9e0d7510fa804c435b7730b3f
treeadf7f8b7486d4ea639f93a1456f39a61b120dd76
parenteb379e6fb9d31852a1f75d6d0b38b2a8e4518444
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: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h