[PATCH 0/3] xfs: hold ilock across insert and collapse range

Brian Foster
2019-12-13T20:39:41Z

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(-)

--
2.20.1