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. Changes since v1: - various spelling fixes - split and refine the cleanups to xfs_rtallocate_block - rename xfs_bmap_rtalloc Diffstat: libxfs/xfs_bmap.c | 57 ++-- 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 | 17 - xfs_quota.h | 5 xfs_rtalloc.c | 648 +++++++++++++++++++++++++------------------------- xfs_rtalloc.h | 37 -- 12 files changed, 419 insertions(+), 615 deletions(-)