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 = false;
>  
> -     __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);
>  

Although I would have preferred to keep blk_mq_quiesce_nowait() open-coded in
this function,

Reviewed-by: Bart Van Assche <[email protected]>

Reply via email to