]> www.infradead.org Git - nvme.git/commit
nvme: implement ->get_unique_id
authorChristoph Hellwig <hch@lst.de>
Fri, 5 Jul 2024 16:46:26 +0000 (18:46 +0200)
committerKeith Busch <kbusch@kernel.org>
Mon, 8 Jul 2024 17:25:39 +0000 (10:25 -0700)
commit18f03a063d41a90115373dc41c1fc22bd3e0a6ad
tree7d939680d3b23ec85a4d1128c570350ef3bed96c
parentf227345f0a70f011647ae7ae12778bf258ff71f2
nvme: implement ->get_unique_id

Implement the get_unique_id method to allow pNFS SCSI layout access to
NVMe namespaces.

This is the server side implementation of RFC 9561 "Using the Parallel
NFS (pNFS) SCSI Layout to Access Non-Volatile Memory Express (NVMe)
Storage Devices".

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c
drivers/nvme/host/multipath.c
drivers/nvme/host/nvme.h