xfs: hold ilock across insert and collapse range
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xfs: open code insert range extent split helperfs/ fs/ fs/ | +17 | 4 replies | |
| 2/3 | xfs: rework insert range into an atomic operationfs/ | +13 | 10 replies | |
| 3/3 | xfs: rework collapse range into an atomic operationfs/ | +15 | 5 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Darrick J. Wong | Christoph Hellwig |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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