]> 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)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 08:40:03 +0000 (10:40 +0200)
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 e6b4b2c82339d78b5ef7fb896a85e8b34348e78d..64dc1ba38f11e48e07ed79f5bcede5e7f1979176 100644 (file)
@@ -1723,6 +1723,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
  *