Hi all, This submission extends xfs_repair and xfs_admin to support adding the inode btree counter and bigtime features to an existing v5 filesystem. The first three patches lay the groundwork in both tools for performing upgrades, and the last two patches add the ability to add features. v2: Rebase to 5.10-rc0 v3: respond to reviewer comments v4: document which kernel version these new features showed up in v5: move all the upgrader code to xfs_repair per Eric suggestion, which eliminates a bunch of fragile db/admin/repair coordination. v6: update mkfs/admin/repair manpages to identify CLI options that apply only to V4 fses and are therefore deprecated 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=fs-upgrades --- db/xfs_admin.sh | 6 ++- man/man8/mkfs.xfs.8 | 16 +++++++++ man/man8/xfs_admin.8 | 47 +++++++++++++++++++++++++ repair/globals.c | 2 + repair/globals.h | 2 + repair/phase2.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++ repair/xfs_repair.c | 22 ++++++++++++ 7 files changed, 186 insertions(+), 2 deletions(-)