Skip to content

NVMe namespace identification

Keith Busch linux-nvme lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Print: Add print format for 8-byte EUI-64 typeDocumentation/printk-formats.txt lib/vsprintf.c+22 -81 reply
2/2NVMe: Expose namespace identity attribute to sysfsdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+61 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/2] NVMe namespace identification

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(-)
Signature · 1 line
2.6.2.307.g37023ba