Hi all, Two improvements for xfs_repair: first, we adjust the btree bulk loader's slack computation to match the kernel. Second, we make the bulk loader write as many records as w can per ->get_records call. 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. xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=repair-bulkload-faster-6.8 --- Commits in this patchset: * xfs_repair: adjust btree bulkloading slack computations to match online repair * xfs_repair: bulk load records into new btree blocks --- repair/agbtree.c | 161 ++++++++++++++++++++++++++++++----------------------- repair/bulkload.c | 9 ++- 2 files changed, 95 insertions(+), 75 deletions(-)