]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: refactor zone reset handling
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Jan 2026 05:19:23 +0000 (06:19 +0100)
committerCarlos Maiolino <cem@kernel.org>
Fri, 30 Jan 2026 09:41:42 +0000 (10:41 +0100)
commit06873dbd940dea955b30efb0b59212f1c858f6d9
tree003b72675a450bd91054410fc3cdf5d3bfaf7508
parent32ae9b893a1dc341274ffabd3cdcc63134f36060
xfs: refactor zone reset handling

Include the actual bio submission in the common zone reset handler to
share more code and prepare for adding error injection for zone reset.

Note the I plan to refactor the block layer submit_bio_wait and
bio_await_chain code in the next merge window to remove some of the
code duplication added here.

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