Hi Chandan, Please pull this branch with changes for xfs for 6.6-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 d7a74cad8f45133935c59ed0adf949f85238624b: xfs: track usage statistics of online fsck (2023-08-10 07:48:07 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/scrub-rtsummary-6.6_2023-08-10 for you to fetch changes up to 526aab5f5790e257cbdff1d1be89353257a3e451: xfs: implement online scrubbing of rtsummary info (2023-08-10 07:48:09 -0700) ---------------------------------------------------------------- xfs: online scrubbing of realtime summary files [v26.1] This patchset implements an online checker for the realtime summary file. The first few changes are some general cleanups -- scrub should get its own references to all inodes, and we also wrap the inode lock functions so that we can standardize unlocking and releasing inodes that are the focus of a scrub. With that out of the way, we move on to constructing a shadow copy of the rtsummary information from the rtbitmap, and compare the new copy against the ondisk copy. This has been running on the djcloud for years with no problems. Enjoy! Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> ---------------------------------------------------------------- Darrick J. Wong (4): xfs: get our own reference to inodes that we want to scrub xfs: wrap ilock/iunlock operations on sc->ip xfs: move the realtime summary file scrubber to a separate source file xfs: implement online scrubbing of rtsummary info fs/xfs/Makefile | 7 +- fs/xfs/scrub/bmap.c | 9 +- fs/xfs/scrub/common.c | 63 +++++++++-- fs/xfs/scrub/common.h | 24 ++++- fs/xfs/scrub/inode.c | 11 +- fs/xfs/scrub/parent.c | 4 +- fs/xfs/scrub/quota.c | 15 +-- fs/xfs/scrub/rtbitmap.c | 48 ++------- fs/xfs/scrub/rtsummary.c | 264 +++++++++++++++++++++++++++++++++++++++++++++++ fs/xfs/scrub/scrub.c | 17 +-- fs/xfs/scrub/scrub.h | 4 + fs/xfs/scrub/trace.h | 34 ++++++ fs/xfs/xfs_trace.h | 3 + 13 files changed, 421 insertions(+), 82 deletions(-) create mode 100644 fs/xfs/scrub/rtsummary.c