Files
rockchip-kernel/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-02-10 15:52:24 -05:00
2017-06-09 09:27:32 -06:00
2017-01-25 13:17:47 -05:00
2017-04-11 14:38:43 -04:00
2017-04-26 23:54:06 -04:00
2017-03-30 09:37:20 +02: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-10 17:15:02 +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-03-21 10:15:47 +02:00
2017-04-05 18:11:48 +02:00
2017-02-11 20:59:41 -05:00
2017-05-08 17:15:12 -07:00
2017-05-03 15:52:10 -07:00
2017-02-24 17:46:57 -08:00
2017-04-24 14:30:46 -04:00
2017-01-12 16:48:26 -05:00
2017-04-26 13:03:04 -04:00
2017-06-05 16:59:16 +02:00
2017-03-07 14:01:02 -08:00
2017-05-09 16:43:23 +03:00
2017-02-13 21:44:09 -05:00
2017-03-28 08:54:48 +02:00
2017-05-03 15:52:10 -07:00
2017-05-08 17:15:12 -07:00
2017-03-26 15:09:45 +02:00
2017-01-09 16:07:38 -05:00
2017-03-22 12:15:15 -07:00
2017-03-09 15:42:33 +01:00
2017-01-10 18:31:55 -08:00
2017-05-09 16:43:22 +03:00