Skip to content

xfs: introduce mmap/truncate lock

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 Latest6 patches 7 repliesIn review
  2. v1 RFC6 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xfs: introduce mmap/truncate lockfs/xfs/xfs_inode.c fs/xfs/xfs_inode.h fs/xfs/xfs_super.c+121 -382 replies
2/6xfs: use i_mmaplock on read faultsfs/xfs/xfs_file.c fs/xfs/xfs_trace.h+29 -11 reply
3/6xfs: use i_mmaplock on write faultsfs/xfs/xfs_file.c fs/xfs/xfs_trace.h+25 -151 reply
4/6xfs: take i_mmap_lock on extent manipulation operationsfs/xfs/xfs_file.c fs/xfs/xfs_ioctl.c fs/xfs/xfs_iops.c+7 -61 reply
5/6xfs: xfs_setattr_size no longer races with page faultsfs/xfs/xfs_iops.c+14 -421 reply
6/6xfs: lock out page faults from extent swap operationsfs/xfs/xfs_bmap_util.c+15 -161 reply

Reviews trailers per patch

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

PatchBrian Foster
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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/6 V2] xfs: introduce mmap/truncate lock

Hi folks,

This is the second version of the mmap/truncate lock patchset I first posted here:

http://oss.sgi.com/archives/xfs/2015-01/msg00129.html

The concensus was that this problem should initially be fixed in the filesystem rather than the VFS due to the limited support of hole punching in filesystems, so the patch is mostly unchanged from the first version. The only changes have been to address the issues that Brain pointed out during review.

The patchset has been used in all my testing since the first version was posted, and most of that has been with lockdep enabled. I have not had lockdep trip over anything other than already known issues in xfstests and various stress loads that I've run, so I think this is good to go.

Comments, thoughts?

-Dave.

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