Skip to content

xfs: set aside allocation btree blocks from block reservation

Brian Foster linux-xfs 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 1 replyIn review
  2. v43 patches 14 repliesSuperseded
  3. v3 posting 2/22 patches 10 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/22 patches16 repliesSuperseded
v21 patch7 repliesSuperseded
v11 patch6 repliesSuperseded

Changes in v5 from the cover letter

- Tweak allocbt counter init logic to filter out rmapbt root block.
v4: https://lore.kernel.org/linux-xfs/[email protected]/
- Fix up perag res logic to not skip pagf init on partial res failure.
- Split up set aside patch into separate counter mechanism and set aside policy patches.
- Drop unnecessary ->m_has_agresv flag as pagf's are always initialized on filesystems with active reservations.
v3: https://lore.kernel.org/linux-xfs/[email protected]/
- Use a mount flag for easy detection of active perag reservation.
- Filter rmapbt blocks from allocbt block accounting.
v2: https://lore.kernel.org/linux-xfs/[email protected]/
- Use an atomic counter instead of a percpu counter.
v1: https://lore.kernel.org/linux-xfs/[email protected]/

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfs: unconditionally read all AGFs on mounts with perag reservationfs/xfs/libxfs/xfs_ag_resv.c+23 -110 replies
2/3xfs: introduce in-core global counter of allocbt blocksfs/xfs/libxfs/xfs_alloc.c fs/xfs/libxfs/xfs_alloc_btree.c fs/xfs/xfs_mount.h+22 -01 reply
3/3xfs: set aside allocation btree blocks from block reservationfs/xfs/xfs_mount.c+14 -10 replies

Reviews trailers per patch

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

PatchChandan Babu RAllison HendersonDarrick J. Wong
1/3R-b R-b R-b
2/3R-b R-b R-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/3] xfs: set aside allocation btree blocks from block reservation

v5:
- Tweak allocbt counter init logic to filter out rmapbt root block.
v4: https://lore.kernel.org/linux-xfs/[email protected]/
- Fix up perag res logic to not skip pagf init on partial res failure.
- Split up set aside patch into separate counter mechanism and set aside policy patches.
- Drop unnecessary ->m_has_agresv flag as pagf's are always initialized on filesystems with active reservations.
v3: https://lore.kernel.org/linux-xfs/[email protected]/
- Use a mount flag for easy detection of active perag reservation.
- Filter rmapbt blocks from allocbt block accounting.
v2: https://lore.kernel.org/linux-xfs/[email protected]/
- Use an atomic counter instead of a percpu counter.
v1: https://lore.kernel.org/linux-xfs/[email protected]/

Brian Foster (3):
xfs: unconditionally read all AGFs on mounts with perag reservation
xfs: introduce in-core global counter of allocbt blocks
xfs: set aside allocation btree blocks from block reservation

 fs/xfs/libxfs/xfs_ag_resv.c     | 34 ++++++++++++++++++++++-----------
 fs/xfs/libxfs/xfs_alloc.c       | 14 ++++++++++++++
 fs/xfs/libxfs/xfs_alloc_btree.c |  2 ++
 fs/xfs/xfs_mount.c              | 15 ++++++++++++++-
 fs/xfs/xfs_mount.h              |  6 ++++++
 5 files changed, 59 insertions(+), 12 deletions(-)
Signature · 1 line
2.26.3