]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: support zone gaps
authorChristoph Hellwig <hch@lst.de>
Sat, 21 Dec 2024 09:58:24 +0000 (09:58 +0000)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:17:09 +0000 (08:17 -0700)
commit97c69ba1c08d5a2bb3cacecae685b63e20e4d485
tree480c3f087bb8079e0dd6b496b7c76e8358b510a6
parentbe458049ffe32b5885c5c35b12997fd40c2986c4
xfs: support zone gaps

Zoned devices can have gaps beyond the usable capacity of a zone and the
end in the LBA/daddr address space.  In other words, the hardware
equivalent to the RT groups already takes care of the power of 2
alignment for us.  In this case the sparse FSB/RTB address space maps 1:1
to the device address space.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_group.h
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/libxfs/xfs_sb.c
fs/xfs/libxfs/xfs_zones.c
fs/xfs/xfs_mount.h