]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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 19:35:47 +0000 (12:35 -0700)
commit2aa0f21d5491976729087104553b7bdaef047b9d
treed50aef96b5d498c5fc07caf883b4c5b8dec9686a
parentb410aff2bd9f101bc096069612391aecce204cd1
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>
Reviewed-by: Omar Sandoval <osandov@fb.com>
block/blk-mq.c