[PATCH v4 0/3] Provide a stable serial number

From: Johannes Thumshirn
Date: Fri Jul 14 2017 - 09:37:21 EST

This pathset is a follow up to

The 1st patch moves the serial attribute from the contrller to the subsystem,
while the 2nd patch makes it configurable via configfs.

Changes to v3:
* Drop lock while subsystem isn't visible (Chirstoph)

Changes to v2:
* Add attr_ prefix to version (Christoph)
* Re-add random serial comment (Christoph)

Changes to v1:
* Move generation of random serial to nvmet_subsys_alloc() (Christoph)

Johannes Thumshirn (3):
nvmet: prefix version configfs file with attr
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 | 30 ++++++++++++++++++++++++++----
drivers/nvme/target/core.c | 5 ++---
drivers/nvme/target/nvmet.h | 2 +-
4 files changed, 30 insertions(+), 9 deletions(-)