Hi all, Here are some miscellaneous bug fixes for the online repair code. 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 kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=repair-fixes-6.10 --- Commits in this patchset: * xfs: drop the scrub file's iolock when transaction allocation fails * xfs: fix iunlock calls in xrep_adoption_trans_alloc * xfs: exchange-range for repairs is no longer dynamic * xfs: invalidate dentries for a file before moving it to the orphanage --- fs/xfs/scrub/attr_repair.c | 3 ++ fs/xfs/scrub/dir_repair.c | 3 ++ fs/xfs/scrub/nlinks_repair.c | 4 ++- fs/xfs/scrub/orphanage.c | 49 +++++++++++++++++---------------------- fs/xfs/scrub/parent_repair.c | 10 ++++++-- fs/xfs/scrub/rtsummary_repair.c | 10 +++----- fs/xfs/scrub/scrub.c | 8 ++---- fs/xfs/scrub/scrub.h | 7 ------ fs/xfs/scrub/symlink_repair.c | 3 ++ fs/xfs/scrub/tempexch.h | 1 - fs/xfs/scrub/tempfile.c | 24 ++----------------- fs/xfs/scrub/trace.h | 3 -- 12 files changed, 49 insertions(+), 76 deletions(-)