Skip to content

nvme-cli ANA update

Hannes Reinecke linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nvme-discover: sanitize optionsDocumentation/nvme-discover.txt fabrics.c+13 -40 replies
2/6nvme-discover: Retry discovery log if the generation counter changesfabrics.c+9 -20 replies
3/6nvme-cli: Add ANA supportlinux/nvme.h nvme-print.c+53 -50 replies
4/6nvme-list-subsys: Add device name argument and print out ANA stateDocumentation/nvme-list-subsys.txt nvme-print.c nvme.c +1 more+121 -90 replies
5/6nvme-cli: Implement ana log page supportDocumentation/nvme-ana-log.txt linux/nvme.h nvme-builtin.h +5 more+251 -01 reply
5/6nvme-cli: Implement ana log page support+0 -02 replies
6/6fabrics: display controller ID in discovery log outputfabrics.c+1 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] nvme-cli ANA update

Hi all,

here's a patchset to implement ANA support in nvme-cli. And also some minor fixes and cleanups.

I did not take Chaitanyas patch, as actually this is based an older patch which I never sent upstream.
Chaitanya, if you disagree I can easily drop this one and use yours instead. (But mine has JSON support :-).
And I also added support the for 'RGO' bit, and set the 'RAE' bit on per default when retrieving the ANA log page; not much point in us clearing the AEN pending bit.

As usual, comments and reviews are welcome.

Hannes Reinecke (6):
nvme-discover: sanitize options
nvme-discover: Retry discovery log if the generation counter changes
nvme-cli: Add ANA support
nvme-list-subsys: Add device name argument and print out ANA state
nvme-cli: Implement ana log page support
fabrics: display controller ID in discovery log output

 Documentation/nvme-ana-log.txt     |  62 +++++++++++++
 Documentation/nvme-discover.txt    |  13 ++-
 Documentation/nvme-list-subsys.txt |   4 +-
 fabrics.c                          |  16 +++-
 linux/nvme.h                       |  33 ++++++-
 nvme-builtin.h                     |   1 +
 nvme-ioctl.c                       |   9 ++
 nvme-ioctl.h                       |   2 +
 nvme-print.c                       | 140 +++++++++++++++++++++++++++-
 nvme-print.h                       |   2 +
 nvme.c                             | 185 +++++++++++++++++++++++++++++++++++--
 nvme.h                             |   1 +
 12 files changed, 448 insertions(+), 20 deletions(-)
 create mode 100644 Documentation/nvme-ana-log.txt
Signature · 1 line
2.13.7