]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: merge blk_mq_insert_request and blk_mq_run_request
authorChristoph Hellwig <hch@infradead.org>
Thu, 20 Feb 2014 23:32:37 +0000 (15:32 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 21 Feb 2014 16:58:48 +0000 (08:58 -0800)
commitc614d5016f70b485a84dc797480dd6227844099e
tree66097b2fa7e34c826421eb345496d890a6d88ade
parentf775932bfb489546e92328e41ab04e252ad85cbc
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>
block/blk-exec.c
block/blk-flush.c
block/blk-mq.c
block/blk-mq.h
include/linux/blk-mq.h