]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: read and write metadata inode directory tree
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:18:52 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:31 +0000 (13:38 -0800)
commit5d9b54a4ef34380aeba844a59e60abb7c65a7ff7
tree906e9ef305c28dee99c759da941e7b2bc08ef4c6
parent7297fd0bebbd70efd12f72632a0f3ac49a8f59fe
xfs: read and write metadata inode directory tree

Plumb in the bits we need to load metadata inodes from a named entry in
a metadir directory, create (or hardlink) inodes into a metadir
directory, create metadir directories, and flag inodes as being metadata
files.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/Makefile
fs/xfs/libxfs/xfs_metadir.c [new file with mode: 0644]
fs/xfs/libxfs/xfs_metadir.h [new file with mode: 0644]
fs/xfs/libxfs/xfs_metafile.c [new file with mode: 0644]
fs/xfs/libxfs/xfs_metafile.h
fs/xfs/xfs_icache.c
fs/xfs/xfs_trace.c
fs/xfs/xfs_trace.h