Skip to content

xfs: extent swap fixes

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: fix swapext ilock deadlockfs/xfs/xfs_bmap_util.c+18 -151 reply
2/2xfs: flush both inodes in xfs_swap_extentsfs/xfs/xfs_bmap_util.c+37 -445 replies

Reviews trailers per patch

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

PatchChristoph Hellwig
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] xfs: extent swap fixes

Hi folks,

The extent swap code is not symmetrical, so correct behaviour is dependent on userspace doing the right thing. If we try to swap extents with the temporary inode in the wrong state we can have interesting failures. These two patches fix those issues and treat the two files identically in terms of the state of the data contained in the files being swapped. Failure to write or remove all cached data from either file will now cause the swap extents operation to fail.

Comments, thoughts?

Cheers,

Dave.

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