]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: define the format of rt groups
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:00 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:49 +0000 (13:44 -0700)
commit03ff1e63de7464c7f67bda32ce2b5cddc34e3caa
treee6275e926c3904289c726bf22a35afabcfb561f1
parente93f482eaad870fc192df9c954f8ff1933e662fa
xfs: define the format of rt groups

Define the ondisk format of realtime group metadata, and a superblock
for realtime volumes.  rt supers are conditionally enabled by a
predicate function so that they can be disabled if we ever implement
zoned storage support for the realtime volume.

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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/libxfs.h
include/xfs_mount.h
libxfs/libxfs_priv.h
libxfs/xfs_format.h
libxfs/xfs_ondisk.h
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtgroup.c
libxfs/xfs_sb.c
libxfs/xfs_shared.h