]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: introduce realtime refcount btree ondisk definitions
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:40:13 +0000 (12:40 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:28 +0000 (13:36 -0800)
commit89310d3f5f08da3ff53c35cc4595d029472f2fa9
tree3d5f58011b130da6169da16e83163168c2a30937
parent3c44432eb3e706658b8561b06b6fca356a2f5bef
xfs: introduce realtime refcount btree ondisk definitions

Add the ondisk structure definitions for realtime refcount btrees. The
realtime refcount btree will be rooted from a hidden inode so it needs
to have a separate btree block magic and pointer format.

Next, add everything needed to read, write and manipulate refcount btree
blocks. This prepares the way for connecting the btree operations
implementation.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
12 files changed:
fs/xfs/Makefile
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_ondisk.h
fs/xfs/libxfs/xfs_rtrefcount_btree.c [new file with mode: 0644]
fs/xfs/libxfs/xfs_rtrefcount_btree.h [new file with mode: 0644]
fs/xfs/libxfs/xfs_sb.c
fs/xfs/libxfs/xfs_shared.h
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_stats.c
fs/xfs/xfs_stats.h