]> www.infradead.org Git - users/hch/xfs.git/commitdiff
xfs: introduce realtime rmap btree definitions
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 May 2024 04:11:47 +0000 (21:11 -0700)
committerChristoph Hellwig <hch@lst.de>
Sat, 10 Aug 2024 08:44:23 +0000 (10:44 +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 73a0de2da948c92048ff627020f419841365cb59..99be72ff114cc88664d3e0c8c52ff8b975b63d92 100644 (file)
@@ -1699,6 +1699,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
  *