Skip to content
  • Tejun Heo's avatar
    writeback: add dirty_throttle_control->dom · e9f07dfd
    Tejun Heo authored
    
    
    Currently all dirty throttle operations use global_wb_domain; however,
    cgroup writeback support requires considering per-memcg wb_domain too.
    This patch adds dirty_throttle_control->dom and updates functions
    which are directly using globabl_wb_domain to use it instead.
    
    As this makes global_update_bandwidth() a misnomer, the function is
    renamed to domain_update_bandwidth().
    
    This patch doesn't introduce any behavioral changes.
    
    Signed-off-by: default avatarTejun 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: default avatarJens Axboe <axboe@fb.com>
    e9f07dfd