]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Export namespace attributes to sysfs
authorKeith Busch <keith.busch@intel.com>
Tue, 22 Dec 2015 17:10:45 +0000 (10:10 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:51 +0000 (13:40 -0700)
commit7bc6173c52101ddac900bacafdfab8c58800e04b
tree1a068a7afd13a63cd885f0abbcd58c9d82612ac3
parent5d6c35f1ec70d29a814a57ceced4c7ac5295eb82
NVMe: Export namespace attributes to sysfs

Exposes the NGUID, EUI-64, and NSID to sysfs entries under the disk's
kobject.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 2b9b6e86bca7209de02754fc84acf7ab3e78734e)

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