]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: disable sb_frextents for zoned file systems
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2025 05:35:58 +0000 (07:35 +0200)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 29 Apr 2025 16:09:57 +0000 (18:09 +0200)
commit554360cdc6e2dc59379e80082e793f543f84b7ec
treefeaef8ab6ac13a6656098acf997e64355b5d8e27
parentbe3bc69f4feefac447b411c5145dbe099189c766
xfs: disable sb_frextents for zoned file systems

Source kernel commit: 1d319ac6fe1bd6364c5fc6e285ac47b117aed117

Zoned file systems not only don't use the global frextents counter, but
for them the in-memory percpu counter also includes reservations taken
before even allocating delalloc extent records, so it will never match
the per-zone used information.  Disable all updates and verification of
the sb counter for zoned file systems as it isn't useful for them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_sb.c