From 49d2d943bf14ff4db1f161409f3a518cad695bcd Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 3 Jul 2024 14:22:27 -0700 Subject: [PATCH] xfs: introduce realtime refcount btree definitions Add new realtime refcount btree definitions. The realtime refcount 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index 9eaf72347..be6acf033 100644 --- a/libxfs/xfs_format.h +++ b/libxfs/xfs_format.h @@ -1768,6 +1768,12 @@ struct xfs_refcount_key { /* btree pointer type */ typedef __be32 xfs_refcount_ptr_t; +/* + * Realtime Reference Count btree format definitions + * + * This is a btree for reference count records for realtime volumes + */ +#define XFS_RTREFC_CRC_MAGIC 0x52434e54 /* 'RCNT' */ /* * BMAP Btree format definitions -- 2.50.1