From: Darrick J. Wong Date: Thu, 15 Aug 2024 18:49:14 +0000 (-0700) Subject: xfs: introduce realtime refcount btree definitions X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ebd0e6bf40636a0984d4b4e49d5e1dce1a23c0b5;p=users%2Fhch%2Fxfs.git 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 --- diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index 11c270118d22..f33838df9cfb 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h @@ -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