OSDN Git Service

Merge tag 'scrub-rtsummary-6.6_2023-08-10' of https://git.kernel.org/pub/scm/linux...
authorChandan Babu R <chandan.babu@oracle.com>
Fri, 18 Aug 2023 07:55:53 +0000 (13:25 +0530)
committerChandan Babu R <chandan.babu@oracle.com>
Fri, 18 Aug 2023 07:55:53 +0000 (13:25 +0530)
commitdf7833234b66271961aa1cc06d599eb85534a214
tree6f8decae7b7c8c3e60316c4dd6f525bbee0e581b
parent889b09b3d00cea78d3330022a39fdccbb6067a3b
parent526aab5f5790e257cbdff1d1be89353257a3e451
Merge tag 'scrub-rtsummary-6.6_2023-08-10' of https://git./linux/kernel/git/djwong/xfs-linux into xfs-6.6-mergeA

xfs: online scrubbing of realtime summary files

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@kernel.org>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
* tag 'scrub-rtsummary-6.6_2023-08-10' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
  xfs: implement online scrubbing of rtsummary info
  xfs: move the realtime summary file scrubber to a separate source file
  xfs: wrap ilock/iunlock operations on sc->ip
  xfs: get our own reference to inodes that we want to scrub