Skip to content

extend nvme show-topology tabular output

Nilay Shroff linux-nvme 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2nvme-cli: extend show-topology tabular output for non-multipath subsysnvme-print-stdout.c+69 -290 replies
2/2nvme-cli: extend show-topology tabular output for multipath subsysnvme-print-stdout.c+111 -450 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/2] extend nvme show-topology tabular output

Hi,

This patchset extends the tabular output of the "nvme show-topology" command.

Currently, the tabular output does not display controller information if a controller has no associated namespaces or paths. However, it is valid for a controller within a subsystem to have no namespaces or paths attached.

In such cases, it is still useful to display controller information such as the controller name, transport type, address, and state, while leaving namespace and path-related fields (e.g., nsid, nshead, anastate, nspath) empty.

This patchset is divided into two patches, first patch extends the output for non-multipath subsystems while the second patch extends the output for multipath subsystems.

As usual, feedback/comments/suggestions are welcome!

Thanks!

Nilay Shroff (2):
nvme-cli: extend show-topology tabular output for non-multipath subsys
nvme-cli: extend show-topology tabular output for multipath subsys

 nvme-print-stdout.c | 256 +++++++++++++++++++++++++++++++-------------
 1 file changed, 181 insertions(+), 75 deletions(-)
Signature · 1 line
2.53.0