Skip to content

writeback fixes and cleanups for 3.0 (v5)

Wu Fengguang linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15writeback: introduce .tagged_writepages for the WB_SYNC_NONE sync stagefs/ext4/inode.c fs/fs-writeback.c include/linux/writeback.h +1 more+14 -122 replies
2/15writeback: update dirtied_when for synced inode to prevent livelockfs/fs-writeback.c+9 -02 replies
3/15writeback: introduce writeback_control.inodes_cleanedfs/fs-writeback.c include/linux/writeback.h+5 -02 replies
4/15writeback: try more writeback as long as something was writtenfs/fs-writeback.c+8 -80 replies
5/15writeback: the kupdate expire timestamp should be a moving targetfs/fs-writeback.c+6 -50 replies
6/15writeback: refill b_io iff emptyfs/fs-writeback.c+3 -20 replies
7/15writeback: split inode_wb_list_lock into bdi_writeback.list_lockfs/block_dev.c fs/fs-writeback.c fs/inode.c +5 more+85 -684 replies
8/15writeback: elevate queue_io() into wb_writeback()fs/fs-writeback.c+12 -170 replies
9/15writeback: avoid extra sync work at enqueue timefs/fs-writeback.c include/linux/writeback.h+3 -160 replies
10/15writeback: add bdi_dirty_limit() kernel-docmm/page-writeback.c+9 -20 replies
11/15writeback: skip balance_dirty_pages() for in-memory fsmm/page-writeback.c+4 -62 replies
12/15writeback: remove writeback_control.more_iofs/fs-writeback.c include/linux/writeback.h include/trace/events/ext4.h +1 more+5 -168 replies
13/15writeback: 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
14/15writeback: trace event writeback_single_inodefs/fs-writeback.c include/trace/events/writeback.h+74 -00 replies
15/15writeback: trace event writeback_queue_iofs/fs-writeback.c include/trace/events/writeback.h+35 -40 replies

Reviews trailers per patch

12 of 15 patches have a Reviewed-by or Acked-by.

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

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

Read the v1 thread

Cover letter [PATCH 00/15] writeback fixes and cleanups for 3.0 (v5)

Andrew,

Here are the intented patches for upstream submission, rebased to v3.0-rc2:

[PATCH 01/15] writeback: introduce .tagged_writepages for the WB_SYNC_NONE sync stage [PATCH 02/15] writeback: update dirtied_when for synced inode to prevent livelock [PATCH 03/15] writeback: introduce writeback_control.inodes_cleaned [PATCH 04/15] writeback: try more writeback as long as something was written [PATCH 05/15] writeback: the kupdate expire timestamp should be a moving target [PATCH 06/15] writeback: refill b_io iff empty
[PATCH 07/15] writeback: split inode_wb_list_lock into bdi_writeback.list_lock [PATCH 08/15] writeback: elevate queue_io() into wb_writeback()
[PATCH 09/15] writeback: avoid extra sync work at enqueue time
[PATCH 10/15] writeback: add bdi_dirty_limit() kernel-doc
[PATCH 11/15] writeback: skip balance_dirty_pages() for in-memory fs [PATCH 12/15] writeback: remove writeback_control.more_io
[PATCH 13/15] writeback: remove .nonblocking and .encountered_congestion [PATCH 14/15] writeback: trace event writeback_single_inode
[PATCH 15/15] writeback: trace event writeback_queue_io

 fs/block_dev.c                   |   16 ++-
 fs/ext4/inode.c                  |    4 +-
 fs/fs-writeback.c                |  219 ++++++++++++++++++++------------------
 fs/inode.c                       |    5 +-
 fs/nfs/write.c                   |    3 +-
 fs/xfs/linux-2.6/xfs_aops.c      |    2 +-
 include/linux/backing-dev.h      |    2 +
 include/linux/writeback.h        |   10 +--
 include/trace/events/btrfs.h     |    6 +-
 include/trace/events/ext4.h      |    6 +-
 include/trace/events/writeback.h |  100 +++++++++++++++++-
 mm/backing-dev.c                 |   21 +++-
 mm/filemap.c                     |    6 +-
 mm/page-writeback.c              |   25 +++--
 mm/rmap.c                        |    4 +-
 15 files changed, 270 insertions(+), 159 deletions(-)

They are git pullable from

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

Thanks to Jan and Dave for the careful reviews!

Thanks,
Fengguang