[PATCH 06/24] xfs: scrub the backup superblocks
Darrick J. Wong
darrick.wong at oracle.com
Thu Aug 25 18:55:56 CDT 2016
Ensure that the geometry presented in the backup superblocks matches
the primary superblock so that repair can recover the filesystem if
that primary gets corrupted.
Signed-off-by: Darrick J. Wong <darrick.wong at oracle.com>
---
libxfs/xfs_fs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h
index 6cb3cff..64c7b43 100644
--- a/libxfs/xfs_fs.h
+++ b/libxfs/xfs_fs.h
@@ -559,6 +559,7 @@ struct xfs_scrub_metadata {
/*
* Metadata types and flags for scrub operation.
*/
+#define XFS_SCRUB_TYPE_SB 0 /* superblock */
#define XFS_SCRUB_TYPE_MAX 0
#define XFS_SCRUB_FLAGS_ALL 0x0 /* no flags yet */
More information about the xfs
mailing list