]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
blk-mq-sched: ask scheduler for work, if we failed dispatching leftovers
authorJens Axboe <axboe@fb.com>
Fri, 17 Feb 2017 18:39:26 +0000 (11:39 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 17 Feb 2017 19:35:47 +0000 (12:35 -0700)
commit64765a75ef258c802f795558d00a5a1864c531fc
treef748a608e3489cc582a3788fe7dc776c5722ec97
parent0c2a6fe4dc3e8c24bc67cd5d0a36092834027cf0
blk-mq-sched: ask scheduler for work, if we failed dispatching leftovers

Usually we don't ask the scheduler for work, if we already have
leftovers on the dispatch list. This is done to leave work on
the scheduler side for as long as possible, for proper merging.
But if we do have work leftover but didn't dispatch anything,
then we should ask the scheduler since we could potentially
issue requests from that.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
block/blk-mq-sched.c