]> Gentwo Git Trees - linux/.git/commit
xfs: set s_min_writeback_pages for zoned file systems
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Oct 2025 03:45:49 +0000 (05:45 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 14:54:31 +0000 (15:54 +0100)
commit015a54407782309c11655e1938bcbcef131ebf87
treeeb814e06688a4d12c06424a60d497738b5a47c73
parent90db4d4441f58d433ecf74f7e3bd17e0a553c20c
xfs: set s_min_writeback_pages for zoned file systems

Set s_min_writeback_pages to the zone size, so that writeback always
writes up to a full zone.  This ensures that writeback does not add
spurious file fragmentation when writing back a large number of
files that are larger than the zone size.

Fixes: 4e4d52075577 ("xfs: add the zoned space allocator")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20251017034611.651385-4-hch@lst.de
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_zone_alloc.c