]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: define the format of rt groups
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Aug 2024 18:56:17 +0000 (11:56 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 16 Aug 2024 21:57:32 +0000 (14:57 -0700)
commit2f33de1ad7b57bc78eff55c6db40fcfef6d47327
tree9c4db4910e53023ca2b8c978be9b7915a65a8957
parent4fa6cec6761996a7ee3bdf42afcb7f15448bee77
xfs: define the format of rt groups

Source kernel commit: f13677b8a76a61cbb1c937d250a3bd45019748e8

Define the ondisk format of realtime group metadata, and a superblock
for realtime volumes.  rt supers are protected by a separate rocompat
bit so that we can leave them off if the rt device is zoned.

Add a xfs_sb_version_hasrtgroups so that xfs_repair knows how to zero
the tail of superblocks.

For rt group enabled file systems there is a separate bitmap and summary
file for each group and thus the number of bitmap and summary blocks
needs to be calculated differently.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_format.h
libxfs/xfs_ondisk.h
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtgroup.c
libxfs/xfs_sb.c
libxfs/xfs_shared.h