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, 25 Oct 2016 02:55:31 +0000 (20:55 -0600)
commit1a4ae841640c6f5457bf8dc4b4454a41b84a9928
treedea016c968f7b7c13e8a45c16a17429cb7929e2f
parent3a8227f67305b4e2f9e0fbbd740e24ec2d42d74e
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