xfs: scrub refcount btrees
Plumb in the pieces necessary to check the refcount btree. If rmap is available, check the reference count by performing an interval query against the rmapbt. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
@@ -493,9 +493,10 @@ struct xfs_scrub_metadata {
|
||||
#define XFS_SCRUB_TYPE_INOBT 7 /* inode btree */
|
||||
#define XFS_SCRUB_TYPE_FINOBT 8 /* free inode btree */
|
||||
#define XFS_SCRUB_TYPE_RMAPBT 9 /* reverse mapping btree */
|
||||
#define XFS_SCRUB_TYPE_REFCNTBT 10 /* reference count btree */
|
||||
|
||||
/* Number of scrub subcommands. */
|
||||
#define XFS_SCRUB_TYPE_NR 10
|
||||
#define XFS_SCRUB_TYPE_NR 11
|
||||
|
||||
/* i: Repair this metadata. */
|
||||
#define XFS_SCRUB_IFLAG_REPAIR (1 << 0)
|
||||
|
||||
Reference in New Issue
Block a user