]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: remove the separate rtgroup and rtsb flags xfs-remove-rtgroups-flag
authorChristoph Hellwig <hch@lst.de>
Sun, 18 Aug 2024 11:47:47 +0000 (13:47 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 Aug 2024 03:31:39 +0000 (05:31 +0200)
commit8ac29ba49b0d4911e62eef4f38dae494b043879f
tree5880fcb9a4fc7c23e86685427a1210ef1d2679a3
parent1ce1ff6759e6eabdcde0cbbc4609944522b3698d
xfs: remove the separate rtgroup and rtsb flags

Merge the rtsb and rtgroup flags into metadir.  A metadir file system now
always needs to use rtgroups if it has RT extents, and always has a super
block.  There still are separate feature checks to make the code more
obvious, and in case of rtsb to deal with the fact that the superblock
obviously only exists when there is a RT section (and the future zoned
RT device can't have one).

Also use the chance to move the metadir flag from the experimental to
the normal feature bit range.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_sb.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_super.c