Hi Chandan, Please pull this branch with changes for xfs for 6.10-rc1. As usual, I did a test-merge with the main upstream branch as of a few minutes ago, and didn't see any conflicts. Please let me know if you encounter any problems. --D The following changes since commit 5befb047b9f4de1747bf48c63cab997a97e0088b: xfs: add the ability to reap entire inode forks (2024-04-15 14:58:49 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/repair-rtsummary-6.10_2024-04-15 for you to fetch changes up to abf039e2e4afde98e448253f9a7ecc784a87924d: xfs: online repair of realtime summaries (2024-04-15 14:58:49 -0700) ---------------------------------------------------------------- xfs: online repair of realtime summaries [v30.3 05/16] We now have all the infrastructure we need to repair file metadata. We'll begin with the realtime summary file, because it is the least complex data structure. To support this we need to add three more pieces to the temporary file code from the previous patchset -- preallocating space in the temp file, formatting metadata into that space and writing the blocks to disk, and swapping the fork mappings atomically. After that, the actual reconstruction of the realtime summary information is pretty simple, since we can simply write the incore copy computed by the rtsummary scrubber to the temporary file, swap the contents, and reap the old blocks. This has been running on the djcloud for months with no problems. Enjoy! Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> ---------------------------------------------------------------- Darrick J. Wong (3): xfs: support preallocating and copying content into temporary files xfs: teach the tempfile to set up atomic file content exchanges xfs: online repair of realtime summaries fs/xfs/Makefile | 1 + fs/xfs/scrub/common.c | 1 + fs/xfs/scrub/repair.h | 3 + fs/xfs/scrub/rtsummary.c | 33 ++-- fs/xfs/scrub/rtsummary.h | 37 ++++ fs/xfs/scrub/rtsummary_repair.c | 177 ++++++++++++++++++ fs/xfs/scrub/scrub.c | 11 +- fs/xfs/scrub/scrub.h | 7 + fs/xfs/scrub/tempexch.h | 21 +++ fs/xfs/scrub/tempfile.c | 388 ++++++++++++++++++++++++++++++++++++++++ fs/xfs/scrub/tempfile.h | 15 ++ fs/xfs/scrub/trace.h | 40 +++++ 12 files changed, 715 insertions(+), 19 deletions(-) create mode 100644 fs/xfs/scrub/rtsummary.h create mode 100644 fs/xfs/scrub/rtsummary_repair.c create mode 100644 fs/xfs/scrub/tempexch.h