[PATCH 2/2] nvme: add iopolicy field in JSON output
Chaitanya Kulkarni
chaitanyak at nvidia.com
Mon Jan 12 15:47:44 PST 2026
On 1/12/26 03:16, Nilay Shroff wrote:
> Commit d0b4c6cf0006 (“nvme: extend show-topology command to add
> support for multipath”) extended the show-topology command output
> and added the iopolicy field to the subsystem header in the text
> output even when show-topology command is executed in non-verbose
> mode.
>
> However, the iopolicy field was not included in the JSON output,
> (for non-verbose output) resulting in an inconsistency between the
> text and JSON formats. This change fixes that by adding the iopolicy
> field to the JSON output when the show-topology command is executed
> with the JSON output format.
>
> Fixes: d0b4c6cf0006 ("nvme: extend show-topology command to add support for multipath")
> Signed-off-by: Nilay Shroff<nilay at linux.ibm.com>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list