Skip to content

xfs: RENAME_WHITEOUT support

Dave Chinner linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesIn review
  2. v1 RFC1 patch 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xfs: clean up inode locking for RENAME_WHITEOUTfs/xfs/xfs_inode.c+67 -782 replies
2/5xfs: cleanup xfs_rename error handlingfs/xfs/xfs_inode.c+27 -340 replies
3/5xfs: factor out xfs_rename_finish()fs/xfs/xfs_inode.c+27 -212 replies
4/5xfs: make xfs_cross_rename() complete fullyfs/xfs/xfs_inode.c+21 -240 replies
5/5xfs: add RENAME_WHITEOUT supportfs/xfs/xfs_inode.c fs/xfs/xfs_iops.c+107 -240 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBrian FosterEric Sandeen
SeriesR-b R-b
1/5
2/5
3/5
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH 0/5 V2] xfs: RENAME_WHITEOUT support

Hi folks,

This is the second version of the RENAME_WHITEOUT patchset that I originally posted here:

http://oss.sgi.com/pipermail/xfs/2015-February/040378.html

This is mainly the breakup and restructuring of the patchset I mention that needed to be done, as well as addressing the comments that were made at the time (e.g. wino -> wip).

The patchset has been split into 5 patches, the first four are really cleanup and factoring patches to make the rename and inode locking code a bit simpler and easier to understand. The last patch then introduces the RENAME_WHITEOUT functionality, which ends up being surprisingly little code....

The changes pass xfstests, but I have not run them on overlayfs at all yet, so I don't know if that's going to result in smoke and tears yet. Still, getting the patch set out for review now is more important that waiting for testing because there is relatively little time left before the 4.1 merge window opens up....

So, comments, thoughts and flames are more than welcome.

-Dave.

Diffstat:

fs/xfs/xfs_inode.c | 408 ++++++++++++++++++++++++++++++++-----------------------
fs/xfs/xfs_iops.c | 2 +-

2 files changed, 239 insertions(+), 171 deletions(-)

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