Hi all, Add some new helper functions (and debug knobs) to online repair to prepare us to stage new btrees. 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 kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=repair-prep-for-bulk-loading --- fs/xfs/scrub/agheader_repair.c | 1 fs/xfs/scrub/common.c | 1 fs/xfs/scrub/repair.c | 395 ++++++++++++++++++++++++++++++++++++++++ fs/xfs/scrub/repair.h | 58 ++++++ fs/xfs/scrub/scrub.c | 2 fs/xfs/scrub/trace.h | 36 ++++ fs/xfs/xfs_extfree_item.c | 2 fs/xfs/xfs_globals.c | 12 + fs/xfs/xfs_sysctl.h | 2 fs/xfs/xfs_sysfs.c | 54 +++++ 10 files changed, 561 insertions(+), 2 deletions(-)