diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2017-07-14 16:36:56 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-07-20 17:41:56 +0300 |
commit | fcbc545959676282e7f46be5c8d8aea26a89ea47 (patch) | |
tree | 9011c59df16121778a017dc6bef86e38c94d2201 /drivers/nvme/target/admin-cmd.c | |
parent | 2e7f5d2af2155084c6f7c86328d36e698cd84954 (diff) | |
download | linux-fcbc545959676282e7f46be5c8d8aea26a89ea47.tar.xz |
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