From cc6fc350ee157a0f58fa2fe4f9244d475bacb6ec Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Thu, 15 Aug 2024 11:56:37 -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 046917574..fa7279fc0 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