Skip to content

xfs: fix a couple of swap extent issues

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn 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 -430 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] xfs: fix a couple of swap extent issues

Hi folks,

Eric pointed out that this morning that if xfs_fsr didn't fsync the target file, the swap extents ioctl deadlocked. Dumb bug, simple fix. I also made sure that swap extent treats both inodes the same in terms of flushing, page cache pages and being mmap()d so that if anyone other than xfs_fsr uses it it doesn't go boom when the second inode is not a newly created empty file.

Thoughts?

-Dave.

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