linux/drivers/nvme/host
Keith Busch 118472ab85 NVMe: Expose ns wwid through single sysfs entry
The method to uniquely identify a namespace depends on the controller's
specification revision level and implemented capabilities. This patch
has the driver figure this out and exports the unique string through a
single 'wwid' attribute so the user doesn't have this burden.

The longest namespace unique identifier is used if available. If not
available, the driver will concat the controller's vendor, serial,
and model with the namespace ID. The specification provides this as a
unique indentifier.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-03-16 07:46:25 -07:00
..
core.c NVMe: Expose ns wwid through single sysfs entry 2016-03-16 07:46:25 -07:00
Kconfig nvme: split pci module out of core module 2016-02-10 14:22:38 -07:00
lightnvm.c lightnvm: fold get bb tbl when using dual/quad plane mode 2016-03-03 14:45:53 -07:00
Makefile nvme: split pci module out of core module 2016-02-10 14:22:38 -07:00
nvme.h NVMe: Expose ns wwid through single sysfs entry 2016-03-16 07:46:25 -07:00
pci.c NVMe: Remove unused sq_head read in completion path 2016-03-08 15:01:06 -07:00
scsi.c nvme: move chardev and sysfs interface to common code 2015-12-01 10:59:40 -07:00