From: Tejun Heo Date: Fri, 22 May 2015 22:23:27 +0000 (-0400) Subject: writeback: add dirty_throttle_control->wb_completions X-Git-Tag: omap-for-v4.2/fixes-rc1^2~117^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9770b3487328b7e28803caf6c809292dd7adbf0;p=pandora-kernel.git writeback: add dirty_throttle_control->wb_completions wb->completions measures the wb's proportional write bandwidth in global_wb_domain and thus naturally tied to the wb_domain. This patch adds dirty_throttle_control->wb_completions which is initialized to wb->completions by GDTC_INIT() and updates __wb_dirty_limits() to use it instead of dereferencing wb->completions directly. This will allow dirty_throttle_control to represent different wb_domains and the matching wb completions. This patch doesn't introduce any behavioral changes. Signed-off-by: Tejun Heo Cc: Jens Axboe Cc: Jan Kara Cc: Wu Fengguang Cc: Greg Thelen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed