aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-02-28 10:12:05 +0800
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-02-28 13:09:08 +0900
commit9cf3c3898a274ca637b88ad01b0830550ee2d318 (patch)
treeb0cdb47c4dde8ed7a3e5463e0bc3e8bc10979355 /security
parent695fd1ed3bcaae9fc032cbe47f0fe9a934bf1717 (diff)
f2fs: fix dirty page accounting when redirty
We should de-account dirty counters for page when redirty in ->writepage(). Wu Fengguang described in 'commit 971767caf632190f77a40b4011c19948232eed75': "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)." Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions