Andrew,
Here are some writeback cleanups to avoid unnecessary calculation overheads,
and relative simple bug fixes.
The patch applies to latest linux-next tree. The mmotm tree will need rebase
to include commit 32422c79 (writeback: Add tracing to balance_dirty_pages)
in order to avoid merge conflicts.
[PATCH 1/6] writeback: take account of NR_WRITEBACK_TEMP in balance_dirty_pages()
[PATCH 2/6] writeback: reduce calls to global_page_state in balance_dirty_pages()
[PATCH 3/6] writeback: avoid unnecessary calculation of bdi dirty thresholds
[PATCH 4/6] writeback: dont redirty tail an inode with dirty pages
[PATCH 5/6] writeback: fix queue_io() ordering
[PATCH 6/6] writeback: merge for_kupdate and !for_kupdate cases
fs/fs-writeback.c | 68 ++++-----------
include/linux/writeback.h | 5 -
mm/backing-dev.c | 3
mm/page-writeback.c | 158 ++++++++++++++----------------------
4 files changed, 89 insertions(+), 145 deletions(-)
Thanks,
Fengguang
--