blk-mq: abstract out blk_mq_dispatch_rq_list() helper
authorJens Axboe <axboe@fb.com>
Wed, 7 Dec 2016 15:41:17 +0000 (08:41 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 8 Dec 2016 20:04:37 +0000 (13:04 -0700)
commit2c9a806db94c88071fadf8da823148f5cfc66625
treea994deead22ab38cc5a0dc43fb8b4d0af1855205
parent4e3084d74ef1e2c6aa2979d017fea56f1b696827
blk-mq: abstract out blk_mq_dispatch_rq_list() helper

Takes a list of requests, and dispatches it. Moves any residual
requests to the dispatch list.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
block/blk-mq.h