summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-05-22 23:13:38 +0200
committerJens Axboe <axboe@fb.com>2015-06-02 16:33:35 +0200
commitce7acfeaf0363c8b75810908448f61af04d38f91 (patch)
treed1f45850fc6a225662f1e959d26572f70539a24b /mm/page-writeback.c
parentwriteback: make backing_dev_info host cgroup-specific bdi_writebacks (diff)
downloadlinux-ce7acfeaf0363c8b75810908448f61af04d38f91.tar.xz
linux-ce7acfeaf0363c8b75810908448f61af04d38f91.zip
writeback, blkcg: associate each blkcg_gq with the corresponding bdi_writeback_congested
A blkg (blkcg_gq) can be congested and decongested independently from other blkgs on the same request_queue. Accordingly, for cgroup writeback support, the congestion status at bdi (backing_dev_info) should be split and updated separately from matching blkg's. This patch prepares by adding blkg->wb_congested and associating a blkg with its matching per-blkcg bdi_writeback_congested on creation. v2: Updated to associate bdi_writeback_congested instead of bdi_writeback. 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 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions