Skip to content

improve sync efficiency with sb inode wb list

Brian Foster linux-fsdevel linux-mm 4 versions – Applied

Status from this message: [merged] wb-inode-writeback-list-tracking-tracepoints.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest2 patches 2 repliesApplied 2/2
  2. v72 patches 1 replySuperseded
  3. v62 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v5 RFC2 patches4 repliesSuperseded

Changes in v8 from the cover letter · 16 lines

- Rebased to latest master.
- Added Holger's Tested-by.
v7: http://marc.info/?l=linux-fsdevel&m=145349651407631&w=2
- Updated patch 1/2 commit log description to reference performance impact.
v6: http://marc.info/?l=linux-fsdevel&m=145322635828644&w=2
- Use rcu locking instead of s_inode_list_lock spinlock in wait_sb_inodes().
- Refactor wait_sb_inodes() to keep inode on wb list.
- Drop remaining, unnecessary lazy list removal bits and relocate inode list check to clear_inode().
- Fix up some comments, etc.
v5: http://marc.info/?l=linux-fsdevel&m=145262374402798&w=2
- Converted from per-bdi list to per-sb list. Also marked as RFC and dropped testing/review tags.
- Updated to use new irq-safe lock for wb list.
- Dropped lazy list removal. Inodes are removed when the mapping is cleared of the writeback tag.
- Tweaked wait_sb_inodes() to remove deferred iput(), other cleanups.
- Added wb list tracepoint patch.
v4: http://marc.info/?l=linux-fsdevel&m=143511628828000&w=2

Patches in v8 All 2 applied

#Subject and filesSizeRepliesApplied
1/2sb: add a new writeback list for syncfs/fs-writeback.c fs/inode.c fs/super.c +3 more+110 -251 replyApplied
2/2wb: inode writeback list tracking tracepointsfs/fs-writeback.c include/trace/events/writeback.h+25 -60 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan KaraHolger HoffstA?tte
1/2R-b T-b T-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/2] improve sync efficiency with sb inode wb list

This is just a rebase to linus' latest master. I haven't heard any feedback on this one so Jan suggested I send to a wider audience.

Brian

v8:
- Rebased to latest master.
- Added Holger's Tested-by.
v7: http://marc.info/?l=linux-fsdevel&m=145349651407631&w=2
- Updated patch 1/2 commit log description to reference performance impact.
v6: http://marc.info/?l=linux-fsdevel&m=145322635828644&w=2
- Use rcu locking instead of s_inode_list_lock spinlock in wait_sb_inodes().
- Refactor wait_sb_inodes() to keep inode on wb list.
- Drop remaining, unnecessary lazy list removal bits and relocate inode list check to clear_inode().
- Fix up some comments, etc.
v5: http://marc.info/?l=linux-fsdevel&m=145262374402798&w=2
- Converted from per-bdi list to per-sb list. Also marked as RFC and dropped testing/review tags.
- Updated to use new irq-safe lock for wb list.
- Dropped lazy list removal. Inodes are removed when the mapping is cleared of the writeback tag.
- Tweaked wait_sb_inodes() to remove deferred iput(), other cleanups.
- Added wb list tracepoint patch.
v4: http://marc.info/?l=linux-fsdevel&m=143511628828000&w=2

Brian Foster (1):
wb: inode writeback list tracking tracepoints

Dave Chinner (1):
sb: add a new writeback list for sync

 fs/fs-writeback.c                | 111 ++++++++++++++++++++++++++++++---------
 fs/inode.c                       |   2 +
 fs/super.c                       |   2 +
 include/linux/fs.h               |   4 ++
 include/linux/writeback.h        |   3 ++
 include/trace/events/writeback.h |  22 ++++++--
 mm/page-writeback.c              |  18 +++++++
 7 files changed, 133 insertions(+), 29 deletions(-)
Signature · 7 lines
2.5.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>