On Sun, Oct 02, 2022 at 11:20:05AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > If any part of the per-AG summary counter scan loop aborts without > collecting all of the data we need, the scrubber's observation data will > be invalid. Set the incomplete flag so that we abort the scrub without > reporting false corruptions. Document the data dependency here too. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> > --- > fs/xfs/scrub/fscounters.c | 21 ++++++++++++++++++++- > 1 file changed, 20 insertions(+), 1 deletion(-) Looks good. Added comments are nice :) Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx