public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/2] NVMe namespace identification
@ 2015-12-09 18:42 Keith Busch
  2015-12-09 18:42 ` [PATCHv2 1/2] Print: Add print format for 8-byte EUI-64 type Keith Busch
  2015-12-09 18:42 ` [PATCHv2 2/2] NVMe: Expose namespace identity attribute to sysfs Keith Busch
  0 siblings, 2 replies; 4+ messages in thread
From: Keith Busch @ 2015-12-09 18:42 UTC (permalink / raw)
  To: linux-nvme, LKML
  Cc: Matthew Wilcox, Greg Kroah-Hartman, Jens Axboe, Christoph Hellwig,
	Dan Williams, Keith Busch

Here's version 2 exposing unique namespace identification to sysfs.

This is simpler thanks to feedback from Willy, Christoph, and Dan.

There are two identification attributes displayed in ASCII instead of
binary. Each method has its own file so parsers will know the format.

The first patch in the series adds a new print format since EUI-64
didn't have a specifier. It's essentially an extented MAC identifier,
so appending a specifier for the longer format to that.

I don't know who owns lib/vsprintf, so copying Greg & LKML.

Keith Busch (2):
  Print: Add print format for 8-byte EUI-64 type
  NVMe: Expose namespace identity attribute to sysfs

 Documentation/printk-formats.txt | 13 +++++++--
 drivers/nvme/host/core.c         | 60 ++++++++++++++++++++++++++++++++++++++--
 drivers/nvme/host/nvme.h         |  3 ++
 lib/vsprintf.c                   | 17 ++++++++----
 4 files changed, 83 insertions(+), 10 deletions(-)

-- 
2.6.2.307.g37023ba


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

end of thread, other threads:[~2015-12-09 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-09 18:42 [PATCHv2 0/2] NVMe namespace identification Keith Busch
2015-12-09 18:42 ` [PATCHv2 1/2] Print: Add print format for 8-byte EUI-64 type Keith Busch
2015-12-09 19:06   ` Joe Perches
2015-12-09 18:42 ` [PATCHv2 2/2] NVMe: Expose namespace identity attribute to sysfs Keith Busch

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