Skip to content

xfs: rmapbt block and perag reservation fixups

Brian Foster fstests linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Changes in v1 from the cover letter

- Split original perag res. fix into two patches.
- Additional patches for block res. issue.
rfc: https://marc.info/?l=linux-xfs&m=151741074520114&w=2

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xfs: shutdown if block allocation overruns tx reservationfs/xfs/xfs_trans.c+8 -41 reply
2/4xfs: account format bouncing into rmapbt swapext tx reservationfs/xfs/xfs_bmap_util.c+20 -92 replies
3/4xfs: rename agfl perag res type to rmapbtfs/xfs/libxfs/xfs_ag_resv.c fs/xfs/libxfs/xfs_alloc.c fs/xfs/xfs_mount.h +1 more+33 -341 reply
4/4xfs: account only rmapbt-used blocks against rmapbt perag resfs/xfs/libxfs/xfs_ag_resv.c fs/xfs/libxfs/xfs_ag_resv.h fs/xfs/libxfs/xfs_alloc.c +2 more+46 -126 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchDarrick J. Wong
1/4R-b
2/4
3/4R-b
4/4

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/4] xfs: rmapbt block and perag reservation fixups

Hi all,

Here's another version of the rmapbt perag reservation fixup. This series splits the original patch into two: one for the rename/non-functional changes and another for the logical fix. This series also includes a couple new patches related to an issue encountered during testing of the previous patch. I have an xfstests test for the latter issue sketched out that I'll follow up with once it's formalized.

Thoughts, reviews, flames appreciated.

Brian

v1:
- Split original perag res. fix into two patches.
- Additional patches for block res. issue.
rfc: https://marc.info/?l=linux-xfs&m=151741074520114&w=2

Brian Foster (4):
xfs: shutdown if block allocation overruns tx reservation
xfs: account format bouncing into rmapbt swapext tx reservation
xfs: rename agfl perag res type to rmapbt
xfs: account only rmapbt-used blocks against rmapbt perag res

 fs/xfs/libxfs/xfs_ag_resv.c    | 39 ++++++++++++++++++++++-----------------
 fs/xfs/libxfs/xfs_ag_resv.h    | 31 +++++++++++++++++++++++++++++++
 fs/xfs/libxfs/xfs_alloc.c      | 14 +++-----------
 fs/xfs/libxfs/xfs_rmap_btree.c |  4 ++++
 fs/xfs/xfs_bmap_util.c         | 29 ++++++++++++++++++++---------
 fs/xfs/xfs_mount.h             | 11 ++++++-----
 fs/xfs/xfs_reflink.c           |  2 +-
 fs/xfs/xfs_trans.c             | 12 ++++++++----
 8 files changed, 95 insertions(+), 47 deletions(-)
Signature · 1 line
2.13.6