Commit 108dad65 authored by Tejun Heo's avatar Tejun Heo Committed by Jens Axboe

ext2: enable cgroup writeback support

Writeback now supports cgroup writeback and the generic writeback,
buffer, libfs, and mpage helpers that ext2 uses are all updated to
work with cgroup writeback.

This patch enables cgroup writeback for ext2 by adding
FS_CGROUP_WRITEBACK to its ->fs_flags.
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Jan Kara <jack@suse.cz>
Cc: linux-ext4@vger.kernel.org
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 429b3fb0
...@@ -1543,7 +1543,7 @@ static struct file_system_type ext2_fs_type = { ...@@ -1543,7 +1543,7 @@ static struct file_system_type ext2_fs_type = {
.name = "ext2", .name = "ext2",
.mount = ext2_mount, .mount = ext2_mount,
.kill_sb = kill_block_super, .kill_sb = kill_block_super,
.fs_flags = FS_REQUIRES_DEV, .fs_flags = FS_REQUIRES_DEV | FS_CGROUP_WRITEBACK,
}; };
MODULE_ALIAS_FS("ext2"); MODULE_ALIAS_FS("ext2");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment