aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/backing-dev.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-05-22 17:13:43 -0400
committerJens Axboe <axboe@fb.com>2015-06-02 08:33:35 -0600
commit482cf79cdf6669667a914ffd4cbc57a762b55fef (patch)
treee4aa049aee0c6d643822fe1a56d404c65c25894d /include/linux/backing-dev.h
parentwriteback, blkcg: restructure blk_{set|clear}_queue_congested() (diff)
downloadlinux-dev-482cf79cdf6669667a914ffd4cbc57a762b55fef.tar.xz
linux-dev-482cf79cdf6669667a914ffd4cbc57a762b55fef.zip
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 <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Jan Kara <jack@suse.cz> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/backing-dev.h')
0 files changed, 0 insertions, 0 deletions