blk-mq: move blk_mq_quiesce_queue() into include/linux/blk-mq.h
authorMing Lei <ming.lei@redhat.com>
Tue, 6 Jun 2017 15:22:01 +0000 (23:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 18 Jun 2017 20:20:04 +0000 (14:20 -0600)
We usually put blk_mq_*() into include/linux/blk-mq.h, so
move this API into there.

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>
include/linux/blk-mq.h
include/linux/blkdev.h

index b144b7b0e1046bedd582b30a5f146d83c06b2279..99348adb3e16d1b407a565f080c31ec5c4a9681d 100644 (file)
@@ -244,6 +244,7 @@ void blk_mq_stop_hw_queues(struct request_queue *q);
 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_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);
index 670df402bc5184f6f8d60c147a0509955e99db9e..8423f6baf81858a36aa581ce136d37d128819c8a 100644 (file)
@@ -965,7 +965,6 @@ extern void __blk_run_queue(struct request_queue *q);
 extern void __blk_run_queue_uncond(struct request_queue *q);
 extern void blk_run_queue(struct request_queue *);
 extern void blk_run_queue_async(struct request_queue *q);
-extern void blk_mq_quiesce_queue(struct request_queue *q);
 extern int blk_rq_map_user(struct request_queue *, struct request *,
                           struct rq_map_data *, void __user *, unsigned long,
                           gfp_t);