]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: define the format of rt groups
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Aug 2024 18:48:07 +0000 (11:48 -0700)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 08:01:25 +0000 (10:01 +0200)
commit6cf95e3ade80e841d056bc5db93d160dbaaca71d
tree67990fcd7b0ee8defcabf561b7fbe497695d3f0a
parent03f78bacb94389f1716d34fed61fe55118a1dfdc
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>
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_ondisk.h
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/libxfs/xfs_rtgroup.c
fs/xfs/libxfs/xfs_sb.c
fs/xfs/libxfs/xfs_shared.h
fs/xfs/xfs_mount.h
fs/xfs/xfs_rtalloc.c