Hi all, Since the rest of the metadir/rtgroups patches are ready to be merged into xfsprogs 6.13, this is a funny little series with a few straggler patches that came up during review. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. This has been running on the djcloud for months with no problems. 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=rtgroups-stragglers --- Commits in this patchset: * xfs_db: drop the metadata checking code from blockget * xfs_mdrestore: refactor open-coded fd/is_file into a structure * xfs_mdrestore: restore rt group superblocks to realtime device --- db/check.c | 294 --------------------------------------------- man/man8/xfs_db.8 | 12 -- man/man8/xfs_mdrestore.8 | 10 ++ mdrestore/xfs_mdrestore.c | 162 +++++++++++++++---------- 4 files changed, 112 insertions(+), 366 deletions(-)