]> git.baikalelectronics.ru Git - kernel.git/commit
blk-wbt: fix has-sleeper queueing check
authorJens Axboe <axboe@kernel.dk>
Mon, 20 Aug 2018 19:22:27 +0000 (13:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Aug 2018 21:07:32 +0000 (15:07 -0600)
commit5291d80c50cabf581f5ce94374063c7d57218c59
tree0d81aff4f1352d26dbb143a60291817fc154fc24
parentbc432e11e87a5b7131bede82bf9415a7c7a3b30e
blk-wbt: fix has-sleeper queueing check

We need to do this inside the loop as well, or we can allow new
IO to supersede previous IO.

Tested-by: Anchal Agarwal <anchalag@amazon.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c