diff options
author | Christoph Hellwig | 2014-02-21 00:32:37 +0100 |
---|---|---|
committer | Jens Axboe | 2014-02-21 17:58:48 +0100 |
commit | feb71dae1f9e0aeb056f7f639a21e620d327fc66 (patch) | |
tree | 66097b2fa7e34c826421eb345496d890a6d88ade /block/blk-mq.h | |
parent | blk-mq: remove blk_mq_alloc_rq (diff) | |
download | kernel-qcow2-linux-feb71dae1f9e0aeb056f7f639a21e620d327fc66.tar.gz kernel-qcow2-linux-feb71dae1f9e0aeb056f7f639a21e620d327fc66.tar.xz kernel-qcow2-linux-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.h | 1 |
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); |