]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add realtime refcount btree inode to metadata directory
authorDarrick J. Wong <djwong@kernel.org>
Sun, 11 Aug 2024 06:42:26 +0000 (08:42 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 11:53:50 +0000 (13:53 +0200)
commit1ed6dfdd916bf50945ee164003a4616b3ae613de
tree2ba2212d1a824be2e7c88739d0e4e6f4d68c0a2b
parent93bab9952b57c8a4fcdf2f0b22fed3e3b018e904
xfs: add realtime refcount btree inode to metadata directory

Source kernel commit: 2a935930d4ffea7f2fab2a0305727e858ebf6487

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>
Signed-off-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