summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-05-22 18:23:27 -0400
committerJens Axboe <axboe@fb.com>2015-06-02 08:38:13 -0600
commite9770b3487328b7e28803caf6c809292dd7adbf0 (patch)
tree6214a88ef38a3f661cc731abaf9c112cf0b6e7a6 /scripts
parentdaddfa3cb30ebfe322d50af146d830fd435ddb1f (diff)
downloadop-kernel-dev-e9770b3487328b7e28803caf6c809292dd7adbf0.zip
op-kernel-dev-e9770b3487328b7e28803caf6c809292dd7adbf0.tar.gz
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 <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 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud