[PATCH] nvme-pci: refactoring nvme_queue_rqs
Keith Busch
kbusch at kernel.org
Tue May 2 09:36:50 PDT 2023
On Tue, May 02, 2023 at 05:13:01AM -0300, Irvin Cote wrote:
> When dealing with the queue_rqs callback, the block
> layer guarantees that it only provides with us with
> requests from the same queue (cf include/linux/blk-mq.h).
blk-mq only guarantees the list of requests are all from the same
request_queue, not necessarily the same hctx. At the nvme driver
level, this means the request list is for the same namespace, but
not necessarily allocated out of the same SQ.
More information about the Linux-nvme
mailing list