diff options
| author | Tejun Heo <[email protected]> | 2015-05-22 18:23:19 -0400 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2015-06-02 08:38:12 -0600 |
| commit | 0d960a383ae7aa791b2833e122ba7519d264cf92 (patch) | |
| tree | 7cb121d325e526290a37b3bcefd316f46e3ea54f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 733a572e66d2a23c852fdce34dba5bbd40667817 (diff) | |
writeback: clean up wb_dirty_limit()
The function name wb_dirty_limit(), its argument @dirty and the local
variable @wb_dirty are mortally confusing given that the function
calculates per-wb threshold value not dirty pages, especially given
that @dirty and @wb_dirty are used elsewhere for dirty pages.
Let's rename the function to wb_calc_thresh() and wb_dirty to
wb_thresh.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Wu Fengguang <[email protected]>
Cc: Greg Thelen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions