]> www.infradead.org Git - users/hch/xfs.git/commitdiff
xfs: introduce realtime rmap btree definitions
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Aug 2024 18:48:44 +0000 (11:48 -0700)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 08:01:35 +0000 (10:01 +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>
fs/xfs/libxfs/xfs_format.h

index df392c30c14e34460223b2b292947ae7ab147d9d..edebc16294f0d44bfeb46f38df730cad2e41da40 100644 (file)
@@ -1713,6 +1713,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
  *