xfs
[Top] [All Lists]

[PATCH 15/29] xfs: scrub the realtime rmapbt

To: david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx
Subject: [PATCH 15/29] xfs: scrub the realtime rmapbt
From: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Date: Thu, 25 Aug 2016 17:00:11 -0700
Cc: linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <147216950911.7022.438115723996286926.stgit@xxxxxxxxxxxxxxxx>
References: <147216950911.7022.438115723996286926.stgit@xxxxxxxxxxxxxxxx>
User-agent: StGit/0.17.1-dirty
Check the realtime reverse mapping btree against the rtbitmap, and
modify the rtbitmap scrub to check against the rtrmapbt.

Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
 libxfs/xfs_fs.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h
index 2c37d57..112afc0 100644
--- a/libxfs/xfs_fs.h
+++ b/libxfs/xfs_fs.h
@@ -575,7 +575,8 @@ struct xfs_scrub_metadata {
 #define XFS_SCRUB_TYPE_BMBTC   13      /* CoW fork block mapping */
 #define XFS_SCRUB_TYPE_RTBITMAP        14      /* realtime bitmap */
 #define XFS_SCRUB_TYPE_RTSUM   15      /* realtime summary */
-#define XFS_SCRUB_TYPE_MAX     15
+#define XFS_SCRUB_TYPE_RTRMAPBT        16      /* realtime reverse mapping 
btree */
+#define XFS_SCRUB_TYPE_MAX     16
 
 #define XFS_SCRUB_FLAGS_ALL    0x0     /* no flags yet */
 

<Prev in Thread] Current Thread [Next in Thread>