]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: support file data forks containing metadata btrees
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:27 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:05 +0000 (13:06 -0800)
commit702c90f451622384d6c65897b619f647704b06a9
treeedc058feddb6fafddc91e1b9ebd68a89768156a9
parent219ee99d3673ded7abbc13ddd4d7847e92661e2c
xfs: support file data forks containing metadata btrees

Create a new fork format type for metadata btrees.  This fork type
requires that the inode is in the metadata directory tree, and only
applies to the data fork.  The actual type of the metadata btree itself
is determined by the di_metatype field.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
12 files changed:
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/scrub/bmap.c
fs/xfs/scrub/bmap_repair.c
fs/xfs/scrub/inode.c
fs/xfs/scrub/inode_repair.c
fs/xfs/scrub/rmap_repair.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_inode_item_recover.c
fs/xfs/xfs_trace.h