]> git.karo-electronics.de Git - linux-beck.git/commit
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, 8 Nov 2016 15:28:55 +0000 (08:28 -0700)
commitb57d74aff9ab92fbfb7c197c384d1adfa2827b2e
treeecb36de5f34865613c9eec3db3c0de034aaf7e33
parent8e1de26cd5db192b52819f5ee97bab308964f3ab
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>
Reviewed-by: Jan Kara <jack@suse.cz>
include/linux/backing-dev-defs.h
mm/backing-dev.c
mm/page-writeback.c