summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-01 16:00:46 +0100
committerJens Axboe <axboe@kernel.dk>2022-11-02 15:35:34 +0100
commit8537380bb9882c201db60a1eb201aac6e74083e8 (patch)
tree8e24998a609bc4ce247893890a461c6021336407 /block/blk-mq.h
parentnvme-apple: don't unquiesce the I/O queues in apple_nvme_reset_work (diff)
downloadlinux-8537380bb9882c201db60a1eb201aac6e74083e8.tar.xz
linux-8537380bb9882c201db60a1eb201aac6e74083e8.zip
blk-mq: skip non-mq queues in blk_mq_quiesce_queue
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@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20221101150050.3510-11-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions