Skip to content

Commit ea079ef

Browse files
author
Darrick J. Wong
committed
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>
1 parent 28d756d commit ea079ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/xfs/libxfs/xfs_format.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,8 @@ xfs_sb_has_ro_compat_feature(
403403
XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR | \
404404
XFS_SB_FEAT_INCOMPAT_NREXT64 | \
405405
XFS_SB_FEAT_INCOMPAT_EXCHRANGE | \
406-
XFS_SB_FEAT_INCOMPAT_PARENT)
406+
XFS_SB_FEAT_INCOMPAT_PARENT | \
407+
XFS_SB_FEAT_INCOMPAT_METADIR)
407408

408409
#define XFS_SB_FEAT_INCOMPAT_UNKNOWN ~XFS_SB_FEAT_INCOMPAT_ALL
409410
static inline bool

0 commit comments

Comments
 (0)