]> www.infradead.org Git - users/hch/xfs.git/commitdiff
xfs: introduce realtime refcount btree definitions
authorDarrick J. Wong <djwong@kernel.org>
Mon, 23 Sep 2024 20:42:21 +0000 (13:42 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:11:01 +0000 (18:11 -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>
fs/xfs/libxfs/xfs_format.h

index cf2d42fbcb95c90f01b8a23cc33ee7279945050f..3d4a97e5ae7a11d9967db2ecc3a6a2b8ec79a15a 100644 (file)
@@ -1813,6 +1813,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