[PATCH] nvme-list: fix verbose JSON output for 'nvme list' command
Daniel Wagner
wagi at kernel.org
Thu Jul 24 07:18:16 PDT 2025
On Mon, 21 Jul 2025 15:59:11 +0530, Nilay Shroff wrote:
> The verbose JSON output of the nvme list command is currently incorrect in
> both multipath and non-multipath configurations. Specifically, it prints
> empty Namespaces[] and Paths[] arrays in the wrong places, leading to
> confusion and invalid output. For example, on a system with single NVMe
> disk, signle controller and one namepsace created, 'nvme list --verbose
> --output json' prints the following output:
>
> [...]
Applied, thanks!
[1/1] nvme-list: fix verbose JSON output for 'nvme list' command
commit: 64bed0a87a23ca574cfce64fbcf6630194551276
Best regards,
--
Daniel Wagner <wagi at kernel.org>
More information about the Linux-nvme
mailing list