summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorWu Fengguang2011-08-08 23:19:47 +0200
committerWu Fengguang2011-12-18 07:20:25 +0100
commit32c7f202a4801252a0f3578807b75a961f792870 (patch)
treec09d5578604e83c2c421aca32b6b125d70b4a2bc /mm/page-writeback.c
parentwriteback: fix dirtied pages accounting on redirty (diff)
downloadkernel-qcow2-linux-32c7f202a4801252a0f3578807b75a961f792870.tar.gz
kernel-qcow2-linux-32c7f202a4801252a0f3578807b75a961f792870.tar.xz
kernel-qcow2-linux-32c7f202a4801252a0f3578807b75a961f792870.zip
btrfs: fix dirtied pages accounting on sub-page writes
When doing 1KB sequential writes to the same page, balance_dirty_pages_ratelimited_nr() should be called once instead of 4 times, the latter makes the dirtier tasks be throttled much too heavy. Fix it with proper de-accounting on clear_page_dirty_for_io(). CC: Chris Mason <chris.mason@oracle.com> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions