Re: [PATCH v4 09/11] blk-mq: don't stop queue for quiescing
From: Bart Van Assche <hidden>
Date: 2017-06-05 21:36:45
From: Bart Van Assche <hidden>
Date: 2017-06-05 21:36:45
On Mon, 2017-06-05 at 23:59 +0800, Ming Lei wrote:
@@ -169,11 +169,7 @@ void blk_mq_quiesce_queue(struct request_queue *q) unsigned int i; bool rcu =3D false;=20 - __blk_mq_stop_hw_queues(q, true); - - spin_lock_irq(q->queue_lock); - queue_flag_set(QUEUE_FLAG_QUIESCED, q); - spin_unlock_irq(q->queue_lock); + blk_mq_quiesce_queue_nowait(q); =20
Although I would have preferred to keep blk_mq_quiesce_nowait() open-coded = in this function, Reviewed-by: Bart Van Assche <redacted>=