diff options
author | Wu Fengguang <[email protected]> | 2009-09-23 20:33:40 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2009-09-25 18:08:24 +0200 |
commit | d3ddec7635b6fb37cb49e3553bdeea59642be653 (patch) | |
tree | 662a1ea9c0eac6aa9bb07d4f67b6aad84709600c /tools/perf/scripts/python/check-perf-trace.py | |
parent | 3a2e9a5a2afc1a2d2c548b8987f133235cebe933 (diff) |
writeback: stop background writeback when below background threshold
Treat bdi_start_writeback(0) as a special request to do background write,
and stop such work when we are below the background dirty threshold.
Also simplify the (nr_pages <= 0) checks. Since we already pass in
nr_pages=LONG_MAX for WB_SYNC_ALL and background writes, we don't
need to worry about it being decreased to zero.
Reported-by: Richard Kennedy <[email protected]>
CC: Jan Kara <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Wu Fengguang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions