summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorTejun Heo2015-05-22 23:13:36 +0200
committerJens Axboe2015-06-02 16:33:35 +0200
commit89e9b9e07a390c50980d10aa37a04631db5a23ab (patch)
tree194810fa9bd85a9d0e3145eeafc4a305057757f8 /mm/memcontrol.c
parentbdi: separate out congested state into a separate struct (diff)
downloadkernel-qcow2-linux-89e9b9e07a390c50980d10aa37a04631db5a23ab.tar.gz
kernel-qcow2-linux-89e9b9e07a390c50980d10aa37a04631db5a23ab.tar.xz
kernel-qcow2-linux-89e9b9e07a390c50980d10aa37a04631db5a23ab.zip
writeback: add {CONFIG|BDI_CAP|FS}_CGROUP_WRITEBACK
cgroup writeback requires support from both bdi and filesystem sides. Add BDI_CAP_CGROUP_WRITEBACK and FS_CGROUP_WRITEBACK to indicate support and enable BDI_CAP_CGROUP_WRITEBACK on block based bdi's by default. Also, define CONFIG_CGROUP_WRITEBACK which is enabled if both MEMCG and BLK_CGROUP are enabled. inode_cgwb_enabled() which determines whether a given inode's both bdi and fs support cgroup writeback is added. 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 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions