[PATCHv2 2/4] nvme: extend show-topology command to add support for multipath

Daniel Wagner dwagner at suse.de
Wed Aug 20 01:17:28 PDT 2025


On Tue, Aug 19, 2025 at 08:15:09AM +0200, Hannes Reinecke wrote:
> > Okay makes sense, so we'd print <numa-node> and exclude <queue-depth> if iopolicy
> > is numa. For 'queue-depth' iopolicy, we'd print <queue-depth> and exclude <numa-node>.
> > And for 'round-robin' iopolicy, we'd neither print <numa-node> nor <queue-depth>.
> > I'll update this in the next patch.
> > 
> Hmm. I'd rather have _some_ value for 'round-robin', too, as otherwise
> the number of fields will be different (and making parsing harder).

What type of parser do you mean, a carbon based one or a computer? I
strongly recommend to use the JSON output for the later.

I would really prefer that the default stdout is easy for a human to
read not screen scrappers.

Thanks,
Daniel



More information about the Linux-nvme mailing list