blk-mq: have blk_mq_dispatch_rq_list() return if we queued IO or not
authorJens Axboe <axboe@fb.com>
Fri, 17 Feb 2017 18:35:35 +0000 (11:35 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 17 Feb 2017 18:35:35 +0000 (11:35 -0700)
commit11e3c3dddd649e1d94dbeaa3b47a0b5861a16c67
tree54ddb1a02f9fdca13c8d87c4a68e257d4ca7ec42
parent5ca9befcdb4e9a269398fe4f62710a3c3a105531
blk-mq: have blk_mq_dispatch_rq_list() return if we queued IO or not

Currently we're almost there, but if we dispatch nothing, then we
still return success.

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