]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: enable metadata directory feature
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:27 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:31 +0000 (18:01 -0800)
commit7f45426fd4fe67d9e7ca8cd661a7997cf584d3bc
tree3b6d1618b9850b27d71a251f6e8835c25efd8bb6
parent29a6df5a41121f06a11e759ea38289660cdc99a1
xfs: enable metadata directory feature

Source kernel commit: ea079efd365e60aa26efea24b57ced4c64640e75

Enable the metadata directory feature.  With this feature, all metadata
inodes are placed in the metadata directory, and the only inumbers in
the superblock are the roots of the two directory trees.

The RT device is now sharded into a number of rtgroups, where 0 rtgroups
mean that no RT extents are supported, and the traditional XFS stub RT
bitmap and summary inodes don't exist.  A single rtgroup gives roughly
identical behavior to the traditional RT setup, but now with checksummed
and self identifying free space metadata.

For quota, the quota options are read from the superblock unless
explicitly overridden via mount options.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_format.h