mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
xfs: scrub inode block mappings
Scrub an individual inode's block mappings to make sure they make sense. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
parent
80e4e12688
commit
99d9d8d05d
6 changed files with 390 additions and 2 deletions
|
@ -495,9 +495,12 @@ struct xfs_scrub_metadata {
|
|||
#define XFS_SCRUB_TYPE_RMAPBT 9 /* reverse mapping btree */
|
||||
#define XFS_SCRUB_TYPE_REFCNTBT 10 /* reference count btree */
|
||||
#define XFS_SCRUB_TYPE_INODE 11 /* inode record */
|
||||
#define XFS_SCRUB_TYPE_BMBTD 12 /* data fork block mapping */
|
||||
#define XFS_SCRUB_TYPE_BMBTA 13 /* attr fork block mapping */
|
||||
#define XFS_SCRUB_TYPE_BMBTC 14 /* CoW fork block mapping */
|
||||
|
||||
/* Number of scrub subcommands. */
|
||||
#define XFS_SCRUB_TYPE_NR 12
|
||||
#define XFS_SCRUB_TYPE_NR 15
|
||||
|
||||
/* i: Repair this metadata. */
|
||||
#define XFS_SCRUB_IFLAG_REPAIR (1 << 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue