]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
xfs: introduce realtime refcount btree definitions
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:27 +0000 (14:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 16 Jul 2024 22:49:22 +0000 (15:49 -0700)
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 <djwong@kernel.org>
libxfs/xfs_format.h

index 7c92cd957fe2003beb37ea73bd0651788bfb41be..94d47141635f8e858e158ecac7b03eb36a23174c 100644 (file)
@@ -1762,6 +1762,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