]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: add realtime refcount btree inode to metadata directory
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:21:52 +0000 (10:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:15:59 +0000 (09:15 -0800)
commit0f2ef731a9f5427caf70185540f8b318aa91add3
tree1dfaf4fc8edbbf85a9a6b0727beebd8d40bc258e
parent82d0c7cb934bc878829964116f25a33632aa0eb7
xfs: add realtime refcount btree inode to metadata directory

Source kernel commit: eaed472c40527e526217aff3737816b44b08b363

Add a metadir path to select the realtime refcount btree inode and load
it at mount time.  The rtrefcountbt inode will have a unique extent format
code, which means that we also have to update the inode validation and
flush routines to look for it.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_format.h
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_fork.c
libxfs/xfs_rtgroup.c
libxfs/xfs_rtgroup.h
libxfs/xfs_rtrefcount_btree.c