summaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-05-22 18:23:32 -0400
committerJens Axboe <axboe@fb.com>2015-06-02 08:38:13 -0600
commit947e9762a8ddefda38aa21e249e6a4fec215cd12 (patch)
tree6ac8e8f9636ec937e720449753c88874bbd41620 /mm/backing-dev.c
parentaa661bbe1e61ce80ca4ae98804f673ede94b0827 (diff)
downloadlinux-stable-947e9762a8ddefda38aa21e249e6a4fec215cd12.tar.gz
linux-stable-947e9762a8ddefda38aa21e249e6a4fec215cd12.tar.bz2
linux-stable-947e9762a8ddefda38aa21e249e6a4fec215cd12.zip
writeback: update wb_over_bg_thresh() to use wb_domain aware operations
wb_over_bg_thresh() currently uses global_dirty_limits() and wb_dirty_limit() both of which are wrappers around operations which take dirty_throttle_control. For cgroup writeback support, the function will be updated to also consider memcg wb_domains which requires the context information carried in dirty_throttle_control. This patch updates wb_over_bg_thresh() so that it uses the underlying wb_domain aware operations directly and builds the global dirty_throttle_control in the process. This patch doesn't introduce any behavioral changes. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Jan Kara <jack@suse.cz> Cc: Wu Fengguang <fengguang.wu@intel.com> Cc: Greg Thelen <gthelen@google.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions