On Sun, Oct 02, 2022 at 11:20:09AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > When scrub is checking file fork mappings against rmap records and > the rmap record starts before or ends after the bmap record, check the > adjacent bmap records to make sure that they're adjacent to the one > we're checking. This helps us to detect cases where the rmaps cover > territory that the bmaps do not. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> > --- > fs/xfs/scrub/bmap.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 72 insertions(+), 2 deletions(-) Looks OK. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx