public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Provide a stable serial number
@ 2017-07-14 12:53 Johannes Thumshirn
  2017-07-14 12:53 ` [PATCH v3 1/3] nvmet: prefix version configfs file with attr Johannes Thumshirn
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Johannes Thumshirn @ 2017-07-14 12:53 UTC (permalink / raw)
  To: Christoph Hellwig, Sagi Grimberg, Keith Busch
  Cc: Linux Kernel Mailinglist, Linux NVMe Mailinglist,
	Johannes Thumshirn

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 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      |  7 ++++---
 drivers/nvme/target/nvmet.h     |  2 +-
 4 files changed, 32 insertions(+), 9 deletions(-)

-- 
2.12.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-07-14 13:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-14 12:53 [PATCH v3 0/3] Provide a stable serial number Johannes Thumshirn
2017-07-14 12:53 ` [PATCH v3 1/3] nvmet: prefix version configfs file with attr Johannes Thumshirn
2017-07-14 12:55   ` Christoph Hellwig
2017-07-14 13:41   ` Hannes Reinecke
2017-07-14 12:53 ` [PATCH v3 2/3] nvmet: Move serial number from controller to subsystem Johannes Thumshirn
2017-07-14 12:55   ` Christoph Hellwig
2017-07-14 12:53 ` [PATCH v3 3/3] nvmet: preserve controller serial number between reboots Johannes Thumshirn
2017-07-14 12:56   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox