]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: introduce realtime refcount btree ondisk definitions
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:47 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:10 +0000 (13:06 -0800)
commit9abe03a0e4f978615a2b1b484b8d09ca84c16ea0
tree0ae2790d86dcb738cb225c1e22104cb7aa814147
parent70fcf6866578e69635399e806273376f5e0b8e2b
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, though the changes to actually root the rtrefcount btree
in an inode come later.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
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