summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/sht21.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2011-08-08 15:22:00 -0600
committerWu Fengguang <fengguang.wu@intel.com>2011-12-18 14:20:23 +0800
commit2f800fbd777b792de54187088df19a7df0251254 (patch)
tree2dc813b41da42d647468dafcf49a0b9e673df8b5 /drivers/hwmon/sht21.c
parentd3bc1fef9389e409a772ea174a5e41a6f93d9b7b (diff)
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 'drivers/hwmon/sht21.c')
0 files changed, 0 insertions, 0 deletions