summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-05-22 17:13:40 -0400
committerJens Axboe <axboe@fb.com>2015-06-02 08:33:35 -0600
commitdfb8ae567835425d27db8acc6c9fc5db88d38e2b (patch)
tree6da062fda862d1d751d5b40297f643a0a4221eed /include
parent910181343774cd5fed95900d9fd2cb4ff7758162 (diff)
downloadlinux-dfb8ae567835425d27db8acc6c9fc5db88d38e2b.tar.gz
linux-dfb8ae567835425d27db8acc6c9fc5db88d38e2b.tar.bz2
linux-dfb8ae567835425d27db8acc6c9fc5db88d38e2b.zip
writeback: let balance_dirty_pages() work on the matching cgroup bdi_writeback
Currently, balance_dirty_pages() always work on bdi->wb. This patch updates it to work on the wb (bdi_writeback) matching memcg and blkcg of the current task as that's what the inode is being dirtied against. balance_dirty_pages_ratelimited() now pins the current wb and passes it to balance_dirty_pages(). As no filesystem has FS_CGROUP_WRITEBACK yet, this doesn't lead to visible behavior differences. v2: Updated for per-inode wb association. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions