Skip to content

xfs: hold ilock across insert and collapse range

Brian Foster linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfs: open code insert range extent split helperfs/xfs/libxfs/xfs_bmap.c fs/xfs/libxfs/xfs_bmap.h fs/xfs/xfs_bmap_util.c+17 -324 replies
2/3xfs: rework insert range into an atomic operationfs/xfs/xfs_bmap_util.c+13 -1910 replies
3/3xfs: rework collapse range into an atomic operationfs/xfs/xfs_bmap_util.c+15 -145 replies

Reviews trailers per patch

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

PatchDarrick J. WongChristoph Hellwig
1/3R-b R-b
2/3R-b R-b
3/3R-b R-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/3] xfs: hold ilock across insert and collapse range

Hi all,

This is a followup to the recent bugfix I sent on collapse range. Dave suggested that insert/collapse should probably be atomic wrt to ilock, so this series reworks both operations appropriately. This survives a couple fstests runs and I'll be running an fsx test over the weekend...

Brian

Brian Foster (3):
xfs: open code insert range extent split helper
xfs: rework insert range into an atomic operation
xfs: rework collapse range into an atomic operation

 fs/xfs/libxfs/xfs_bmap.c | 32 ++--------------------
 fs/xfs/libxfs/xfs_bmap.h |  3 ++-
 fs/xfs/xfs_bmap_util.c   | 57 ++++++++++++++++++++++------------------
 3 files changed, 36 insertions(+), 56 deletions(-)
Signature · 1 line
2.20.1