]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: support file data forks containing metadata btrees
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:21:48 +0000 (10:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:15:58 +0000 (09:15 -0800)
commit64c60f5242f3dd2f1006478944d8ac2e65550d3f
tree0af6189e048af7b913bc040c3d2f94d6b55139f5
parent206412b8eb10d45f3e14cda05cccf02a1c40e70b
xfs: support file data forks containing metadata btrees

Source kernel commit: 702c90f451622384d6c65897b619f647704b06a9

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>
libxfs/xfs_format.h
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_fork.c