[PATCH 07/12] dm: Use BLK_MQ_S_STOPPED instead of QUEUE_FLAG_STOPPED in blk-mq code

Mike Snitzer snitzer at redhat.com
Thu Oct 27 07:01:21 PDT 2016


On Wed, Oct 26 2016 at  6:54pm -0400,
Bart Van Assche <bart.vanassche at sandisk.com> wrote:

> Instead of manipulating both QUEUE_FLAG_STOPPED and BLK_MQ_S_STOPPED
> in the dm start and stop queue functions, only manipulate the latter
> flag. Change blk_queue_stopped() tests into blk_mq_queue_stopped().
> 
> Signed-off-by: Bart Van Assche <bart.vanassche at sandisk.com>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Cc: Mike Snitzer <snitzer at redhat.com>

Acked-by: Mike Snitzer <snitzer at redhat.com>



More information about the Linux-nvme mailing list