[PATCHv2 2/2] nvme: add support multipath passthrough iostats
Christoph Hellwig
hch at lst.de
Wed May 27 06:16:57 PDT 2026
On Tue, May 26, 2026 at 08:39:21AM -0700, Keith Busch wrote:
> + struct nvme_ns *ns = q->queuedata;
> struct request *req;
>
> + if (ns && nvme_ns_head_multipath(ns->head))
> + rq_flags |= REQ_NVME_MPATH;
I just wanted to come with reasons why it this is wrong, but it actually
seems already - we only have a ns for multipath nodes if multipathing
is enabled. Maybe throw a little comment in on that?
Otherwise looks good.
More information about the Linux-nvme
mailing list