]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: define the format of rt groups
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:17 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:39 +0000 (13:38 -0800)
commit96768e91511bfced6e9e537f4891157d909b13ee
tree8fcd21b1cb234f4b56f33e108e0f70876956fd5b
parent64c58d7c99343a910edf995e15d8037e19ec5777
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