]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/xfs/scrub/common.h
xfs: create helpers to scan an allocation group
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 18 Oct 2017 04:37:38 +0000 (21:37 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:24 +0000 (15:38 -0700)
commitb6c1beb967b0a4a1b8297ee6f4bc067a0ba32b0b
tree0052a17a745929b09c337c3296eb9d9cc6861632
parent37f3fa7f161d41d3424231e9ce4bd58b62a56fca
xfs: create helpers to scan an allocation group

Add some helpers to enable us to lock an AG's headers, create btree
cursors for all btrees in that allocation group, and clean up
afterwards.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/common.c
fs/xfs/scrub/common.h
fs/xfs/scrub/scrub.c
fs/xfs/scrub/scrub.h