Skip to content

: xfs: remove the xfssyncd mess

Dave Chinner linux-xfs 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest14 patches 15 repliesIn review
  2. v313 patches 23 repliesSuperseded
  3. v213 patches 46 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v113 patches1 replySuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14xfs: xfs_syncd_stop must diefs/xfs/xfs_super.c fs/xfs/xfs_sync.c fs/xfs/xfs_sync.h+26 -350 replies
2/14xfs: rationalise xfs_mount_wq usersfs/xfs/xfs_mount.c fs/xfs/xfs_super.c fs/xfs/xfs_sync.c+23 -380 replies
3/14xfs: don't run the sync work if the filesystem is read-onlyfs/xfs/xfs_super.c fs/xfs/xfs_sync.c+18 -130 replies
4/14xfs: sync work is now only periodic log workfs/xfs/xfs_log.c fs/xfs/xfs_log.h fs/xfs/xfs_log_priv.h +4 more+62 -610 replies
5/14xfs: Bring some sanity to log unmountingfs/xfs/xfs_log.c fs/xfs/xfs_mount.c+26 -270 replies
6/14xfs: xfs_sync_data is redundant.fs/xfs/xfs_file.c fs/xfs/xfs_iomap.c fs/xfs/xfs_mount.h +5 more+34 -1085 replies
7/14xfs: syncd workqueue is no morefs/xfs/xfs_log.c fs/xfs/xfs_mount.h fs/xfs/xfs_super.c +2 more+30 -340 replies
8/14xfs: xfs_sync_fsdata is redundantfs/xfs/xfs_super.c fs/xfs/xfs_sync.c+14 -720 replies
9/14xfs: move xfs_quiesce_attr() into xfs_super.cfs/xfs/xfs_super.c fs/xfs/xfs_sync.c fs/xfs/xfs_sync.h+67 -680 replies
10/14xfs: xfs_quiesce_attr() should quiesce the log like unmountfs/xfs/xfs_log.c fs/xfs/xfs_log.h fs/xfs/xfs_super.c+27 -400 replies
11/14xfs: rename xfs_sync.[ch] to xfs_icache.[ch]fs/xfs/Makefile fs/xfs/xfs_icache.c fs/xfs/xfs_icache.h +7 more+763 -7610 replies
12/14xfs: move inode locking functions to xfs_inode.cfs/xfs/xfs_iget.c fs/xfs/xfs_inode.c+250 -2510 replies
13/14xfs: remove xfs_iget.cfs/xfs/Makefile fs/xfs/xfs_export.c fs/xfs/xfs_icache.c +9 more+430 -4700 replies
14/14xfs: only update the last_sync_lsn when a transaction completesfs/xfs/xfs_log.c+16 -32 replies

Reviews trailers per patch

13 of 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark TinguelyChristoph HellwigBrian Foster
SeriesR-b
1/14R-b R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b R-b
6/14T-b
7/14R-b
8/14R-b R-b
9/14R-b R-b
10/14R-b R-b
11/14R-b R-b
12/14R-b R-b
13/14R-b R-b
14/14R-b

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

Read the v5 thread

Cover letter [PATCH 00/14 V5]: xfs: remove the xfssyncd mess

Hopefully the final version.

Version 5:
- move initial queuing of log work so it isn't started on log mount error
- move xfs_flush_inodes() to xfs_super.c
- pass xfs_mount to xfs_flush_inodes()
- rewrite commit message for xfs_flush_inodes() changes
- added last_sync_lsn fix to series as the problem it fixes is reliably exposed by the changes in this series

Version 4:
- updated 'xfs: xfs_sync_data is redundant' with cleanups to the xfs_flush_inodes interface as per Christoph's request,
- updated 'xfs: xfs_sync_data is redundant', folding in changes from
http://oss.sgi.com/archives/xfs/2012-10/msg00036.html
- fixed a minor typo in xfs: 'syncd workqueue is no more', renaming the log worker from 'xfs-reclaim' to 'xfs-log'.

Version 3:
- per-mount log and reclaim workqueues instead of a generic mount workqueue.
- reordering of some of the patches as Christoph requested.
- fixed the writeback_inodes_sb_if_idle deadlock by moving it all the way back up the write stack to xfs_file_aio_buffered_write where we were just flushing the current file to avoid deadlocking on it anyway.
- reintroduced xfs_flush_inodes() as a wrapper for writeback_inodes_sb_if_idle().
- rebased on a current TOT.

Version 2:
- fix writeback_inodes_sb_if_idle call in xfs_create()
- refreshed patch 13 before sending.

Initial version:
- http://oss.sgi.com/archives/xfs/2012-06/msg00064.html

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs