summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_drivers.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-05-23 00:23:29 +0200
committerJens Axboe <axboe@fb.com>2015-06-02 16:38:13 +0200
commitc7981433ef05e67b1b40740b2c40edbd4476b659 (patch)
treebf44403c5d6d62fa0c9111db3a9f2d857b431a3b /include/acpi/acpi_drivers.h
parentwriteback: add dirty_throttle_control->dom (diff)
downloadlinux-c7981433ef05e67b1b40740b2c40edbd4476b659.tar.xz
linux-c7981433ef05e67b1b40740b2c40edbd4476b659.zip
writeback: make __wb_writeout_inc() and hard_dirty_limit() take wb_domaas a parameter
Currently __wb_writeout_inc() and hard_dirty_limit() assume global_wb_domain; however, cgroup writeback support requires considering per-memcg wb_domain too. This patch separates out domain-specific part of __wb_writeout_inc() into wb_domain_writeout_inc() which takes wb_domain as a parameter and adds the parameter to hard_dirty_limit(). This will allow these two functions to handle per-memcg wb_domains. 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 'include/acpi/acpi_drivers.h')
0 files changed, 0 insertions, 0 deletions