]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "blk-mq: don't use sync workqueue flushing from drivers"
authorMing Lei <ming.lei@redhat.com>
Tue, 6 Jun 2017 15:22:10 +0000 (23:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 18 Jun 2017 20:24:48 +0000 (14:24 -0600)
commit6fe97cce1e4b740fb9de74d5b9cc88b98c8f9f27
tree36421200c74e648854f95f0d417910194ef2c056
parent8d185027d1f83b18f614a36c57cca82c10259df9
Revert "blk-mq: don't use sync workqueue flushing from drivers"

This patch reverts commit 29621862a44ac3(blk-mq: don't use
sync workqueue flushing from drivers) because only
blk_mq_quiesce_queue() need the sync flush, and now
we don't need to stop queue any more, so revert it.

Also changes to cancel_delayed_work() in blk_mq_stop_hw_queue().

Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c