Files
kernel_arpi/include/linux
Ming Lei f4560ffe8c blk-mq: use QUEUE_FLAG_QUIESCED to quiesce queue
It is required that no dispatch can happen any more once
blk_mq_quiesce_queue() returns, and we don't have such requirement
on APIs of stopping queue.

But blk_mq_quiesce_queue() still may not block/drain dispatch in the
the case of BLK_MQ_S_START_ON_RUN, so use the new introduced flag of
QUEUE_FLAG_QUIESCED and evaluate it inside RCU read-side critical
sections for fixing this issue.

Also blk_mq_quiesce_queue() is implemented via stopping queue, which
limits its uses, and easy to cause race, because any queue restart in
other paths may break blk_mq_quiesce_queue(). With the introduced
flag of QUEUE_FLAG_QUIESCED, we don't need to depend on stopping queue
for quiescing any more.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-06-18 14:24:27 -06:00
..
2017-04-21 10:45:01 -04:00
2017-06-08 09:03:33 +02:00
2017-04-28 18:09:59 -04:00
2017-06-09 09:27:32 -06:00
2017-04-26 23:54:06 -04:00
2017-05-24 12:43:30 -04:00
2017-06-05 16:59:12 +02:00
2017-04-18 20:41:12 +02:00
2017-04-27 05:13:04 -04:00
2017-05-25 13:44:28 -04:00
2017-06-05 16:59:10 +02:00
2017-05-08 17:15:12 -07:00
2017-05-03 15:52:10 -07:00
2017-04-24 14:30:46 -04:00
2017-04-26 13:03:04 -04:00
2017-06-05 16:59:16 +02:00
2017-05-09 16:43:23 +03:00
2017-05-03 15:52:10 -07:00
2017-05-08 17:15:12 -07:00
2017-05-09 16:43:22 +03:00