[PATCH 1/3] nvme: multipath: Implemented new iopolicy "queue-depth"

Keith Busch kbusch at kernel.org
Tue Nov 7 14:14:34 PST 2023


On Tue, Nov 07, 2023 at 05:01:22PM -0500, Ewan Milne wrote:
> The patch uses the existing flag NVME_MPATH_IO_STATS in the request
> for simplicity to see if an atomic_inc() was performed before doing the _dec().
> If we really need to keep the count for passthrough requests (maybe we do)
> then we would need another flag.

Oh, I see.

I didn't think you wanted to tie path selection to whether or not the
disk stats are enabled (and maybe you don't?), so that's why I thought
we needed another flag for this.



More information about the Linux-nvme mailing list