xfs: teach scrub to check for sole ownership of metadata objects
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:15 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:15 +0000 (19:00 -0700)
commit69115f775f6e8e972a40aa6aa1523bcb0b252b1c
treef102b8b7ff9d43f9eebecd93b2dfe33bf31b016b
parentefc0845f5d3e253f7f46a60b66a94c3164d76ee3
xfs: teach scrub to check for sole ownership of metadata objects

Strengthen online scrub's checking even further by enabling us to check
that a range of blocks are owned solely by a given owner.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_rmap.c
fs/xfs/libxfs/xfs_rmap.h
fs/xfs/scrub/agheader.c
fs/xfs/scrub/btree.c
fs/xfs/scrub/ialloc.c
fs/xfs/scrub/inode.c
fs/xfs/scrub/rmap.c
fs/xfs/scrub/scrub.h