writeback: track if we're sleeping on progress in balance_dirty_pages()
authorJens Axboe <axboe@fb.com>
Thu, 1 Sep 2016 16:20:33 +0000 (10:20 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 12 Sep 2016 15:01:50 +0000 (09:01 -0600)
commit02e29816f2886c4d5c05219be3fe9db86098611c
tree3f8a382b7a4af813da9dac78e12c249da9303060
parentad78e87424eb7ddb02b49308499f72bfd6b72c83
writeback: track if we're sleeping on progress in balance_dirty_pages()

Note in the bdi_writeback structure whenever a task ends up sleeping
waiting for progress. We can use that information in the lower layers
to increase the priority of writes.

Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/backing-dev-defs.h
mm/backing-dev.c
mm/page-writeback.c