]> git.baikalelectronics.ru Git - kernel.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)
commitb0e8ebe53b62cffbee1364c23e0acd647710cc23
tree025ca0284c444e650dfead54647fdab622bfce45
parentc6ff484a2b6e54719eab514c9032f88365c965ff
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