]> 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>
Fri, 1 Nov 2024 20:47:07 +0000 (13:47 -0700)
commita5816b34332cb6f23233014fdfaf3b0f5e9bf20b
tree97d3e0a2cd0b4bca86af90c06d51abc09653fc71
parent6899dc72527493d578a18dd00867124f660888de
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