aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-02-20 15:32:37 -0800
committerJens Axboe <axboe@fb.com>2014-02-21 08:58:48 -0800
commitfeb71dae1f9e0aeb056f7f639a21e620d327fc66 (patch)
tree66097b2fa7e34c826421eb345496d890a6d88ade /block/blk-mq.h
parentblk-mq: remove blk_mq_alloc_rq (diff)
downloadlinux-dev-feb71dae1f9e0aeb056f7f639a21e620d327fc66.tar.xz
linux-dev-feb71dae1f9e0aeb056f7f639a21e620d327fc66.zip
blk-mq: merge blk_mq_insert_request and blk_mq_run_request
It's almost identical to blk_mq_insert_request, so fold the two into one slightly more generic function by making the flush special case a bit smarted. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r--block/blk-mq.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h
index ed0035cd458e..72beba1f9d55 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -23,7 +23,6 @@ struct blk_mq_ctx {
};
void __blk_mq_complete_request(struct request *rq);
-void blk_mq_run_request(struct request *rq, bool run_queue, bool async);
void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async);
void blk_mq_init_flush(struct request_queue *q);
void blk_mq_drain_queue(struct request_queue *q);