xfs: introduce realtime refcount btree definitions
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 May 2024 04:13:06 +0000 (21:13 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 11:53:04 +0000 (13:53 +0200)
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 2eb9aaa450cf46fe764126b4917306c577a78269..cedb0c1d477d36182b0ed7f6656177589d7b43a8 100644 (file)
@@ -1794,6 +1794,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