[PATCH] nvme: set passthrough command gendisk

Christoph Hellwig hch at lst.de
Thu Oct 15 03:42:22 EDT 2020


On Wed, Oct 14, 2020 at 01:38:45PM -0700, Keith Busch wrote:
> The nvme event traces for IO commands are reporting the wrong QID
> because we never set the request's gendisk. Set this parameter if the
> passthrough command is being sent through an IO queue.

Why do we event need the check for a non-NULL disk in nvme_req_qid?



More information about the Linux-nvme mailing list