Hi all, While I was backporting 5.16 to libxfs, I noticed that repair and metadump don't completely check the btree heights stored in the AGF/AGI headers. This series corrects that problem by making them all check. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=warn-bad-btree-levels --- db/metadump.c | 15 +++++++++++++++ repair/scan.c | 29 ++++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 3 deletions(-)