Re: [PATCH 1/3] iomap: don't resubmit an ioend after ->writeback_submit() failed

From: Christoph Hellwig

Date: Tue Sep 22 2026 - 08:33:00 EST


On Tue, Sep 22, 2026 at 11:03:09AM +0200, Andrea Parri wrote:
> Yes. xfs_reflink_convert_cow() is the only in-tree way
> xfs_writeback_submit() can fail, so I added a boot param that forces
> it to return -EIO, reflinked a file, dirtied several widely
> separated CoW regions so writeback has to submit more than one
> ioend, and let background writeback run under the fault injector.

Can you add an errortag in fs/xfs/libxfs/xfs_errortag.h to inject
such an error and write an xfstest that uses it?