]> www.infradead.org Git - users/hch/xfs.git/commitdiff
xfs: introduce realtime refcount btree definitions
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Aug 2024 18:49:14 +0000 (11:49 -0700)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 08:48:19 +0000 (10:48 +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 11c270118d22a6561737d52f5caa378f7a607c6b..f33838df9cfb0002be2defc0bc2fbbf9ec608fde 100644 (file)
@@ -1784,6 +1784,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