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>
Tue, 4 Oct 2016 16:18:57 +0000 (10:18 -0600)
commit45137dd8faa45daefcc30edc8c21a2dc10043a85
treeea1421f3d6fa5bffa8522896d347cc45f0e7917a
parent0e4e6dcf8e724f78b1452fa3a26d08202cfa575c
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