[PATCH 0/6] writeback: moving expire targets for background/kupdate works

Wu Fengguang
2011-04-19T03:10:23Z

Andrew,

This aims to reduce possible pageout() calls by making the flusher
concentrate a bit more on old/expired dirty inodes.

Patches 04, 05 have been updated since last post, please review.
The concerns from last review have been addressed.

It runs fine on simple workloads over ext3/4, xfs, btrfs and NFS.

Trond, will you take the last patch? The fixed "bug" has no real impact for now.

make dirty expire time a moving target
[PATCH 1/6] writeback: pass writeback_control down to move_expired_inodes()
[PATCH 2/6] writeback: the kupdate expire timestamp should be a moving target
[PATCH 3/6] writeback: sync expired inodes first in background writeback

loop condition fixes (the most tricky part)
[PATCH 4/6] writeback: introduce writeback_control.inodes_cleaned
[PATCH 5/6] writeback: try more writeback as long as something was written

NFS fix
[PATCH 6/6] NFS: return -EAGAIN when skipped commit in nfs_commit_unstable_pages()

Thanks,
Fengguang