]> asedeno.scripts.mit.edu Git - linux.git/commit
block: kyber: check if there are requests in ctx in kyber_has_work()
authorMing Lei <ming.lei@redhat.com>
Sat, 14 Oct 2017 09:22:28 +0000 (17:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Nov 2017 14:20:02 +0000 (08:20 -0600)
commit63ba8e31c3ac6393b07c6e18538814a730478766
tree025ca0284c444e650dfead54647fdab622bfce45
parent7930d0a00ff5dbcc80f793d1a7a6b8de4e591f1a
block: kyber: check if there are requests in ctx in kyber_has_work()

There may be request in sw queue, and not fetched to domain queue
yet, so check it in kyber_has_work().

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/kyber-iosched.c