Commit f5b985f
nvme: add iopolicy field in JSON output
Commit d0b4c6c (“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: d0b4c6c ("nvme: extend show-topology command to add support for multipath")
Signed-off-by: Nilay Shroff <[email protected]>
Reviewed-by: Martin George <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Daniel Wagner <[email protected]>1 parent 230bc9d commit f5b985f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4851 | 4851 | | |
4852 | 4852 | | |
4853 | 4853 | | |
| 4854 | + | |
| 4855 | + | |
4854 | 4856 | | |
4855 | 4857 | | |
4856 | 4858 | | |
| |||
4859 | 4861 | | |
4860 | 4862 | | |
4861 | 4863 | | |
4862 | | - | |
4863 | | - | |
4864 | 4864 | | |
4865 | 4865 | | |
4866 | 4866 | | |
| |||
0 commit comments