]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: introduce realtime rmap btree ondisk definitions
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:21 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:04 +0000 (13:06 -0800)
commitfc6856c6ff08642e3e8437f0416d70a5e1807010
treeed1209577d3270358117dbe4c29de4f50c5dfe47
parent953f76bf7a3622351f335c77c56ed7efb793e3e7
xfs: introduce realtime rmap btree ondisk definitions

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>
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_rtrmap_btree.c [new file with mode: 0644]
fs/xfs/libxfs/xfs_rtrmap_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