]> asedeno.scripts.mit.edu Git - linux.git/commit
nvme: get list of namespace descriptors
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 7 Jun 2017 09:45:34 +0000 (11:45 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Jun 2017 12:30:18 +0000 (14:30 +0200)
commit3b22ba2682b43296b55f5b4e8c2e91b7248db02b
tree0efaa7861099e2ff777a1ef0c773157924fb3f15
parent90985b84c42a045c0d3ed2753a839b37edb3a8f1
nvme: get list of namespace descriptors

If a target identifies itself as NVMe 1.3 compliant, try to get the
list of Namespace Identification Descriptors and populate the UUID,
NGUID and EUI64 fileds in the NVMe namespace structure with these
values.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h