Skip to content

writeback fixes and cleanups for 2.6.40

Wu Fengguang linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17writeback: introduce wbc.tagged_sync for the WB_SYNC_NONE sync stagefs/ext4/inode.c fs/fs-writeback.c include/linux/writeback.h +1 more+10 -81 reply
2/17writeback: update dirtied_when for synced inode to prevent livelockfs/fs-writeback.c+9 -03 replies
3/17writeback: introduce writeback_control.inodes_cleanedfs/fs-writeback.c include/linux/writeback.h+5 -04 replies
4/17writeback: try more writeback as long as something was writtenfs/fs-writeback.c+8 -82 replies
5/17writeback: the kupdate expire timestamp should be a moving targetfs/fs-writeback.c+6 -50 replies
6/17writeback: sync expired inodes first in background writebackfs/fs-writeback.c+15 -14 replies
7/17writeback: refill b_io iff emptyfs/fs-writeback.c+3 -20 replies
8/17writeback: split inode_wb_list_lock into bdi_writeback.list_lockfs/block_dev.c fs/fs-writeback.c fs/inode.c +5 more+85 -680 replies
9/17writeback: elevate queue_io() into wb_writeback()fs/fs-writeback.c+12 -151 reply
10/17writeback: avoid extra sync work at enqueue timefs/fs-writeback.c include/linux/writeback.h+3 -161 reply
11/17writeback: add bdi_dirty_limit() kernel-docmm/page-writeback.c+9 -20 replies
12/17writeback: skip balance_dirty_pages() for in-memory fsmm/page-writeback.c+4 -60 replies
13/17writeback: remove writeback_control.more_iofs/fs-writeback.c include/linux/writeback.h include/trace/events/ext4.h +1 more+5 -160 replies
14/17writeback: make writeback_control.nr_to_write straightfs/btrfs/extent_io.c fs/fs-writeback.c include/linux/writeback.h +3 more+99 -985 replies
15/17writeback: remove .nonblocking and .encountered_congestionfs/nfs/write.c fs/xfs/linux-2.6/xfs_aops.c include/linux/writeback.h +1 more+4 -90 replies
16/17writeback: trace event writeback_single_inodefs/fs-writeback.c include/trace/events/writeback.h+58 -10 replies
16/17writeback: trace event writeback_single_inode (v2)fs/fs-writeback.c include/trace/events/writeback.h+61 -10 replies
17/17writeback: trace event writeback_queue_iofs/fs-writeback.c include/trace/events/writeback.h+35 -40 replies

Reviews trailers per patch

13 of 18 patches have a Reviewed-by or Acked-by.

PatchJan KaraMel GormanPeter ZijlstraRik van RielMinchan KimChristoph Hellwig
1/17A-b
2/17R-b
3/17A-b A-b
4/17A-b A-b
5/17A-b A-b
6/17A-b A-b A-b A-b A-b A-b
7/17A-b
8/17
9/17A-b
10/17A-b
11/17A-b A-b
12/17A-b A-b R-b
13/17A-b A-b
14/17Proposed-by Proposed-by
15/17R-b Proposed-by
16/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 00/17] writeback fixes and cleanups for 2.6.40

Andrew,

This is the combination of all the recent writeback patches that get reasonably reviewed and tested.

The first 10 patches are already in -mm tree, with updates:

- remove "writeback: pass writeback_control down to move_expired_inodes()", and resolve the resulting merge conflicts in other patches.
- move ahead the sync livelock prevention patches (01, 02) so that (04) won't livelock sync
- merge the three -mm fixes to (08)
- fixed changelog of (01)

[PATCH 01/17] writeback: introduce wbc.tagged_sync for the WB_SYNC_NONE sync stage [PATCH 02/17] writeback: update dirtied_when for synced inode to prevent livelock [PATCH 03/17] writeback: introduce writeback_control.inodes_cleaned [PATCH 04/17] writeback: try more writeback as long as something was written [PATCH 05/17] writeback: the kupdate expire timestamp should be a moving target [PATCH 06/17] writeback: sync expired inodes first in background writeback [PATCH 07/17] writeback: refill b_io iff empty
[PATCH 08/17] writeback: split inode_wb_list_lock into bdi_writeback.list_lock [PATCH 09/17] writeback: elevate queue_io() into wb_writeback() [PATCH 10/17] writeback: avoid extra sync work at enqueue time

The following 7 patches were posted and reviewed these days:

[PATCH 11/17] writeback: add bdi_dirty_limit() kernel-doc [PATCH 12/17] writeback: skip balance_dirty_pages() for in-memory fs [PATCH 13/17] writeback: remove writeback_control.more_io [PATCH 14/17] writeback: make writeback_control.nr_to_write straight [PATCH 15/17] writeback: remove .nonblocking and .encountered_congestion [PATCH 16/17] writeback: trace event writeback_single_inode [PATCH 17/17] writeback: trace event writeback_queue_io

The patches are also git pullable from

git://git.kernel.org/pub/scm/linux/kernel/git/wfg/writeback.git fs-writeback

Thanks,
Fengguang