From: Tejun Heo Date: Fri, 22 May 2015 21:13:36 +0000 (-0400) Subject: writeback: add {CONFIG|BDI_CAP|FS}_CGROUP_WRITEBACK X-Git-Tag: omap-for-v4.2/fixes-rc1^2~117^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89e9b9e07a390c50980d10aa37a04631db5a23ab;p=pandora-kernel.git 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 Cc: Jens Axboe Cc: Jan Kara Signed-off-by: Jens Axboe --- Reading git-diff-tree failed