From 14732aa40dead5a6b80d0b550c8ffc37e3c63e88 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 3 Jul 2024 14:22:15 -0700 Subject: [PATCH] xfs: introduce realtime rmap btree definitions 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 --- libxfs/xfs_format.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index e6b4b2c82..64dc1ba38 100644 --- a/libxfs/xfs_format.h +++ b/libxfs/xfs_format.h @@ -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 * -- 2.50.1