From: Tejun Heo Date: Fri, 22 May 2015 21:14:02 +0000 (-0400) Subject: writeback: dirty inodes against their matching cgroup bdi_writeback's X-Git-Tag: omap-for-v4.2/fixes-rc1^2~117^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0747259d13febfcc838980a63c414c9b920cea6f;p=pandora-kernel.git writeback: dirty inodes against their matching cgroup bdi_writeback's __mark_inode_dirty() always dirtied the inode against the root wb (bdi_writeback). The previous patches added all the infrastructure necessary to attribute an inode against the wb of the dirtying cgroup. This patch updates __mark_inode_dirty() so that it uses the wb associated with the inode instead of unconditionally using the root one. Currently, none of the filesystems has FS_CGROUP_WRITEBACK and all pages will keep being dirtied against the root wb. v2: Updated for per-inode wb association. Signed-off-by: Tejun Heo Cc: Jens Axboe Cc: Jan Kara Signed-off-by: Jens Axboe --- Reading git-diff-tree failed