diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-06-06 23:22:03 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-18 14:20:04 -0600 |
commit | e4e739131ac93d373cd2d2fd92820a6a39115ba5 (patch) | |
tree | 7569770cf51a79c6b55390958f7bef3182287863 /include/linux/blk-mq.h | |
parent | 4f084b41a0c04a69067be98a210e6b50969f9945 (diff) | |
download | linux-stable-e4e739131ac93d373cd2d2fd92820a6a39115ba5.tar.gz linux-stable-e4e739131ac93d373cd2d2fd92820a6a39115ba5.tar.bz2 linux-stable-e4e739131ac93d373cd2d2fd92820a6a39115ba5.zip |
blk-mq: introduce blk_mq_unquiesce_queue
blk_mq_start_stopped_hw_queues() is used implictly
as counterpart of blk_mq_quiesce_queue() for unquiescing queue,
so we introduce blk_mq_unquiesce_queue() and make it
as counterpart of blk_mq_quiesce_queue() explicitly.
This function is for improving the current quiescing mechanism
in the following patches.
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>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 78a8b64074ea..787d8a2a2ac6 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -245,6 +245,7 @@ void blk_mq_start_hw_queues(struct request_queue *q); void blk_mq_start_stopped_hw_queue(struct blk_mq_hw_ctx *hctx, bool async); void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async); void blk_mq_quiesce_queue(struct request_queue *q); +void blk_mq_unquiesce_queue(struct request_queue *q); void blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs); void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async); void blk_mq_run_hw_queues(struct request_queue *q, bool async); |