[PATCH v2 0/2] Provide a stable serial number
From: Johannes Thumshirn
Date: Fri Jul 14 2017 - 08:06:06 EST
This pathset is a follow up to
http://lists.infradead.org/pipermail/linux-nvme/2017-July/011934.html.
The 1st patch moves the serial attribute from the contrller to the subsystem,
while the 2nd patch makes it configurable via configfs.
Changes to v1:
* Move generation of random serial to nvmet_subsys_alloc() (Christoph)
Johannes Thumshirn (2):
nvmet: Move serial number from controller to subsystem
nvmet: preserve controller serial number between reboots
drivers/nvme/target/admin-cmd.c | 2 +-
drivers/nvme/target/configfs.c | 22 ++++++++++++++++++++++
drivers/nvme/target/core.c | 6 +++---
drivers/nvme/target/nvmet.h | 2 +-
4 files changed, 27 insertions(+), 5 deletions(-)
--
2.12.3