Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1287732

[PATCHv2 0/2] NVMe namespace identification

From Keith Busch <keith.busch@intel.com>
Newsgroups linux.kernel
Subject [PATCHv2 0/2] NVMe namespace identification
Date 2015-12-09 19:50 +0100
Message-ID <qDRYl-3AU-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCHv2 0/2] NVMe namespace identification Keith Busch <keith.busch@intel.com> - 2015-12-09 19:50 +0100
  [PATCHv2 1/2] Print: Add print format for 8-byte EUI-64 type Keith Busch <keith.busch@intel.com> - 2015-12-09 19:50 +0100
    Re: [PATCHv2 1/2] Print: Add print format for 8-byte EUI-64 type Joe Perches <joe@perches.com> - 2015-12-09 20:10 +0100
  [PATCHv2 2/2] NVMe: Expose namespace identity attribute to sysfs Keith Busch <keith.busch@intel.com> - 2015-12-09 19:50 +0100

csiph-web