]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: define the format of rt groups
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:21 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:29 +0000 (18:01 -0800)
commit1278e817a799ccf91c00f25987dbc29aa5b9a540
tree491714b1efa8fa7303bb3c32f3624718e6c0fefd
parent16ddcc41229c7af098e0083b4d0afd1b94715d06
xfs: define the format of rt groups

Source kernel commit: 96768e91511bfced6e9e537f4891157d909b13ee

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