]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: add a xfs_rtgroup_raw_size helper
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Jan 2026 06:53:25 +0000 (07:53 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:17 +0000 (12:57 +0100)
commitfc633b5c5b80c1d840b7a8bc2828be96582c6b55
treec0790bbd394a856b22672bf2fb02f366d33cd79e
parent41263267ef26d315b1425eb9c8a8d7092f9db7c8
xfs: add a xfs_rtgroup_raw_size helper

Add a helper to figure the on-disk size of a group, accounting for the
XFS_SB_FEAT_INCOMPAT_ZONE_GAPS feature if needed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_rtgroup.h