]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
xfs: introduce realtime rmap btree definitions
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:15 +0000 (14:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 9 Jul 2024 22:37:18 +0000 (15:37 -0700)
Add new realtime rmap btree definitions. The realtime rmap btree will
be rooted from a hidden inode, but has its own shape and therefore
needs to have most of its own separate types.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_format.h

index fd04b9acef568f75051e4fb39c9f4b4e4b75f707..8b1925b5d653eb0952e28458c89580d36b3ee714 100644 (file)
@@ -1693,6 +1693,13 @@ typedef __be32 xfs_rmap_ptr_t;
         XFS_FIBT_BLOCK(mp) + 1 : \
         XFS_IBT_BLOCK(mp) + 1)
 
+/*
+ * Realtime Reverse mapping btree format definitions
+ *
+ * This is a btree for reverse mapping records for realtime volumes
+ */
+#define        XFS_RTRMAP_CRC_MAGIC    0x4d415052      /* 'MAPR' */
+
 /*
  * Reference Count Btree format definitions
  *