Skip to content
Commit 7a148c2f authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

block: don't call blk_mq_quiesce_queue() after queue is frozen



After queue is frozen, no request in this queue can be in use at all, so
there can't be any .queue_rq() running on this queue.  It isn't
necessary to call blk_mq_quiesce_queue() any more, so remove it in both
elevator_switch_mq() and blk_mq_update_nr_requests().

Cc: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>

Fixed up the description a bit.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent d6296d39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment