]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: introduce realtime rmap btree ondisk definitions
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:21:47 +0000 (10:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:15:57 +0000 (09:15 -0800)
commit17b2871269b07bdf5d4ec0ca2ed40ee63a5ec9e9
treebbc62ffb02a9d0388831dcd7bcc4854081404957
parent2711590ccdf1230ee521fe9fd99a8c0bd13ade80
xfs: introduce realtime rmap btree ondisk definitions

Source kernel commit: fc6856c6ff08642e3e8437f0416d70a5e1807010

Add the ondisk structure definitions for realtime rmap btrees. The
realtime rmap 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 rmap btree
blocks. This prepares the way for connecting the btree operations
implementation, though embedding the rtrmap btree root in the inode
comes later in the series.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/libxfs.h
include/xfs_mount.h
libxfs/Makefile
libxfs/xfs_btree.c
libxfs/xfs_format.h
libxfs/xfs_ondisk.h
libxfs/xfs_rtrmap_btree.c [new file with mode: 0644]
libxfs/xfs_rtrmap_btree.h [new file with mode: 0644]
libxfs/xfs_sb.c
libxfs/xfs_shared.h