]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: use bio_reuse in the zone GC code
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Jan 2026 13:06:42 +0000 (14:06 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:16 +0000 (12:57 +0100)
commit0506d32f7c52e41f6e8db7c337e0ce6374c6ffbb
treebdefcbe7397c0587a9d3ce46cd9f2395cbc3302e
parent7ca44303f9f6160a2f87ae3d5d2326d9127cd61c
xfs: use bio_reuse in the zone GC code

Replace our somewhat fragile code to reuse the bio, which caused a
regression in the past with the block layer bio_reuse helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_zone_gc.c