Skip to content

xfs: remove the xfssyncd mess

Ben Myers linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest13 patches 10 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13xfs: xfs_syncd_stop must diefs/xfs/xfs_super.c fs/xfs/xfs_sync.c fs/xfs/xfs_sync.h+26 -350 replies
2/13xfs: rationalise xfs_mount_wq usersfs/xfs/xfs_mount.c fs/xfs/xfs_super.c fs/xfs/xfs_sync.c+23 -380 replies
3/13xfs: dont run the sync work if the filesystem isfs/xfs/xfs_super.c fs/xfs/xfs_sync.c+18 -130 replies
4/13xfs: 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+51 -522 replies
5/13xfs: Bring some sanity to log unmountingfs/xfs/xfs_log.c fs/xfs/xfs_mount.c+26 -270 replies
6/13xfs: xfs_sync_data is redundant.fs/xfs/xfs_file.c fs/xfs/xfs_iomap.c fs/xfs/xfs_mount.h +4 more+36 -1084 replies
7/13xfs: syncd workqueue is no morefs/xfs/xfs_log.c fs/xfs/xfs_mount.h fs/xfs/xfs_super.c +2 more+30 -341 reply
8/13xfs: xfs_sync_fsdata is redundantfs/xfs/xfs_super.c fs/xfs/xfs_sync.c+14 -720 replies
9/13xfs: 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/13xfs: xfs_quiesce_attr() should quiesce the log likefs/xfs/xfs_log.c fs/xfs/xfs_log.h fs/xfs/xfs_super.c+27 -400 replies
11/13xfs: 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/13xfs: move inode locking functions to xfs_inode.cfs/xfs/xfs_iget.c fs/xfs/xfs_inode.c+250 -2510 replies
13/13xfs: remove xfs_iget.cfs/xfs/Makefile fs/xfs/xfs_export.c fs/xfs/xfs_icache.c +9 more+430 -4700 replies

Reviews trailers per patch

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

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

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

Read the v4 thread

Cover letter [patch v4 00/13] xfs: remove the xfssyncd mess

Hi Dave,

Here I am reposting your xfssyncd series. I want to make sure that we're all on the same page. In particular, are we all happy with patch 6, 'xfs: xfs_sync_data is redundant'?

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'.

I was going to rush this in for the 3.7 merge window. However in the light of the issues with patch 6 and Linus's comment here:
http://lkml.org/lkml/2012/9/30/152 and Stephen's comment here:
https://lkml.org/lkml/2012/9/23/144, I think it wiser to behave. 3.7 is stable without this series, so I will merge it for 3.8.

Once we have an agreement that patch 6 is ready I will pull this in to the master branch first thing after the 3.7-rc1 merge from upstream.

Regards,
Ben

Version 3 of the patchset I described here:

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

This patchset reliably exposed the log->l_last_sync_lsn problem I just posted a fix for.

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.

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