]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: support growfs on zoned file systems
authorChristoph Hellwig <hch@lst.de>
Sun, 17 Nov 2024 09:27:24 +0000 (10:27 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:17:08 +0000 (08:17 -0700)
commit01b71e64bb875b329e5b04715d96a477b86ba5de
treef9a8626018451888d63d72b3b9914d3c7293d65e
parent55ef6e7a401fd748b5e879706b02083dc6eb0846
xfs: support growfs on zoned file systems

Replace the inner loop growing one RT bitmap block at a time with
one just modifying the superblock counters for growing an entire
zone (aka RTG).  The big restriction is just like at mkfs time only
a RT extent size of a single FSB is allowed, and the file system
capacity needs to be aligned to the zone size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/xfs_rtalloc.c