diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2011-08-09 01:22:00 +0400 |
---|---|---|
committer | Wu Fengguang <fengguang.wu@intel.com> | 2011-12-18 10:20:23 +0400 |
commit | 2f800fbd777b792de54187088df19a7df0251254 (patch) | |
tree | 2dc813b41da42d647468dafcf49a0b9e673df8b5 /README | |
parent | d3bc1fef9389e409a772ea174a5e41a6f93d9b7b (diff) | |
download | linux-2f800fbd777b792de54187088df19a7df0251254.tar.xz |
writeback: fix dirtied pages accounting on redirty
De-account the accumulative dirty counters on page redirty.
Page redirties (very common in ext4) will introduce mismatch between
counters (a) and (b)
a) NR_DIRTIED, BDI_DIRTIED, tsk->nr_dirtied
b) NR_WRITTEN, BDI_WRITTEN
This will introduce systematic errors in balanced_rate and result in
dirty page position errors (ie. the dirty pages are no longer balanced
around the global/bdi setpoints).
Acked-by: Jan Kara <jack@suse.cz>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions