[PATCH 10/14] blk-mq: skip non-mq queues in blk_mq_quiesce_queue

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Nov 1 22:47:45 PDT 2022


On 11/1/22 08:00, Christoph Hellwig wrote:
> For submit_bio based queues there is no (S)RCU critical section during
> I/O submission and thus nothing to wait for in blk_mq_wait_quiesce_done,
> so skip doing any synchronization.  No non-mq driver should be calling
> this, but for now we have core callers that unconditionally call into it.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Keith Busch <kbusch at kernel.org>
> Reviewed-by: Sagi Grimberg <sagi at grimberg.me>
> Reviewed-by: Ming Lei <ming.lei at redhat.com>
> Reviewed-by: Hannes Reinecke <hare at suse.de>
> ---
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list