xfs: scrub rmap btrees
Check the reverse mapping records to make sure that the contents make sense. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
@@ -492,9 +492,10 @@ struct xfs_scrub_metadata {
|
||||
#define XFS_SCRUB_TYPE_CNTBT 6 /* freesp by length btree */
|
||||
#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 */
|
||||
|
||||
/* Number of scrub subcommands. */
|
||||
#define XFS_SCRUB_TYPE_NR 9
|
||||
#define XFS_SCRUB_TYPE_NR 10
|
||||
|
||||
/* i: Repair this metadata. */
|
||||
#define XFS_SCRUB_IFLAG_REPAIR (1 << 0)
|
||||
|
Reference in New Issue
Block a user