From: Tejun Heo Date: Fri, 22 May 2015 21:13:43 +0000 (-0400) Subject: writeback, blkcg: propagate non-root blkcg congestion state X-Git-Tag: omap-for-v4.2/fixes-rc1^2~117^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=482cf79cdf6669667a914ffd4cbc57a762b55fef;p=pandora-kernel.git writeback, blkcg: propagate non-root blkcg congestion state Now that bdi layer can handle per-blkcg bdi_writeback_congested state, blk_{set|clear}_congested() can propagate non-root blkcg congestion state to them. This can be easily achieved by disabling the root_rl tests in blk_{set|clear}_congested(). Note that we still need those tests when !CONFIG_CGROUP_WRITEBACK as otherwise we'll end up flipping root blkcg wb's congestion state for events happening on other blkcgs. v2: Updated for bdi_writeback_congested. Signed-off-by: Tejun Heo Cc: Jens Axboe Cc: Jan Kara Cc: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed