]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libfrog: promote XFROG_SCRUB_DESCR_SUMMARY to a scrub type
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:48 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:27 +0000 (14:06 -0700)
commit48508407fbc16b222936ccf438c1c9ec76a6d299
tree688c9ce8f99d1cbd05e26aa5320661e7bc9519c5
parent20860d6aa08dd79e183dd7239099501ad3582bbc
libfrog: promote XFROG_SCRUB_DESCR_SUMMARY to a scrub type

"Summary" metadata, at least in the scrub context, are metadata whose
values depend on some kind of computation and therefore can only be
checked after we've looked at all the other metadata.  Currently, the
superblock summary counters are the only thing that are like this, but
since they run in a totally separate xfs_scrub phase (7 vs. 2), make
them their own group and remove the group+flag mix.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
io/scrub.c
libfrog/scrub.c
libfrog/scrub.h
scrub/phase4.c
scrub/phase7.c
scrub/scrub.c
scrub/scrub.h