]> 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)
commit137c2f69cb1c2c41de189932f1e9052d5ab0e9ff
tree0d81aff4f1352d26dbb143a60291817fc154fc24
parent7e0cdacf150ab8a99482b84a07c75cdf4952521e
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