]> www.infradead.org Git - users/hch/xfs.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 Feb 2025 04:49:15 +0000 (05:49 +0100)
commit72c2125a7b19c1404adc466001f6c5a54bbfa446
treec066ade73eaade44976e41472875565ec09e5264
parent4d41fec02c4c086fb6daf6a53f0666f687f66706
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