summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorTejun Heo2015-05-22 23:14:02 +0200
committerJens Axboe2015-06-02 16:33:37 +0200
commit0747259d13febfcc838980a63c414c9b920cea6f (patch)
tree648ca5300a5ccbf0500a7c5e8135f2ad65085383 /fs/buffer.c
parentwriteback: make writeback initiation functions handle multiple bdi_writeback's (diff)
downloadkernel-qcow2-linux-0747259d13febfcc838980a63c414c9b920cea6f.tar.gz
kernel-qcow2-linux-0747259d13febfcc838980a63c414c9b920cea6f.tar.xz
kernel-qcow2-linux-0747259d13febfcc838980a63c414c9b920cea6f.zip
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 <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 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions