]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: enable metadata directory feature
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:36 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:19 +0000 (13:36 -0800)
commite810a6d9b3a94845f6717ae7643ee01a54d99fee
treeb6dd6b4934406f938e6c215dc38d51466fcb0e3c
parent82282f5a4bb5d954e3804c44996589e8ac962ee0
xfs: enable metadata directory feature

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>
fs/xfs/libxfs/xfs_format.h