xfs: block map scrub should handle incore delalloc reservations
authorDarrick J. Wong <djwong@kernel.org>
Mon, 7 Nov 2022 01:03:20 +0000 (17:03 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 16 Nov 2022 23:25:04 +0000 (15:25 -0800)
commit830ffa09fb130d31f111848a75b65506fdac623d
tree16664d7b93aa32aa3f445c59a19f310ed017de8b
parent6a5777865eebee1b53d7ae0fd2fa9ec2c6596df6
xfs: block map scrub should handle incore delalloc reservations

Enhance the block map scrubber to check delayed allocation reservations.
Though there are no physical space allocations to check, we do need to
make sure that the range of file offsets being mapped are correct, and
to bump the lastoff cursor so that key order checking works correctly.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/bmap.c