]> www.infradead.org Git - users/hch/xfs.git/commitdiff
xfs: introduce realtime rmap btree definitions
authorDarrick J. Wong <djwong@kernel.org>
Mon, 23 Sep 2024 20:41:53 +0000 (13:41 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 13:55:45 +0000 (15:55 +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 e75545f9161d618c2a5ec06649f82776c528db53..fb92c0d1af34a5d362acf30df8e5bcfc5b6549a5 100644 (file)
@@ -1742,6 +1742,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
  *