RT allocator tidy ups

Christoph Hellwig
2023-12-14T06:34:44Z

Hi all,

this series has a bunch of tidy ups preparing for my research into
per-RTG RT bitmaps.

The first is a fix for a one-off bug that I could only reproduce with
my hacky patches, but which seems real. The second- and third-last
patches change the policy for retrying allocations that didn't succeed
and could use very careful review. The rest is fairly mechanic
cleanups.

Diffstat:
libxfs/xfs_bmap.c | 55 ++--
libxfs/xfs_bmap.h | 2
libxfs/xfs_format.h | 14 -
libxfs/xfs_rtbitmap.c | 106 +++-----
libxfs/xfs_rtbitmap.h | 4
libxfs/xfs_types.h | 1
scrub/rtsummary.c | 2
xfs_bmap_util.c | 141 ----------
xfs_bmap_util.h | 2
xfs_quota.h | 5
xfs_rtalloc.c | 647 +++++++++++++++++++++++++-------------------------
xfs_rtalloc.h | 37 --
12 files changed, 416 insertions(+), 600 deletions(-)