aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/admin-cmd.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2017-07-14 15:36:56 +0200
committerJens Axboe <axboe@kernel.dk>2017-07-20 08:41:56 -0600
commitfcbc545959676282e7f46be5c8d8aea26a89ea47 (patch)
tree9011c59df16121778a017dc6bef86e38c94d2201 /drivers/nvme/target/admin-cmd.c
parentnvmet: Move serial number from controller to subsystem (diff)
downloadlinux-dev-fcbc545959676282e7f46be5c8d8aea26a89ea47.tar.xz
linux-dev-fcbc545959676282e7f46be5c8d8aea26a89ea47.zip
nvmet: preserve controller serial number between reboots
The NVMe target has no way to preserve controller serial IDs across reboots which breaks udev scripts doing SYMLINK+="dev/disk/by-id/nvme-$env{ID_SERIAL}-part%n. Export the randomly generated serial number via configfs and allow setting of a serial via configfs to mitigate this breakage. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/target/admin-cmd.c')
0 files changed, 0 insertions, 0 deletions