Re: [PATCH 5/9] xfs: buffered write failure should not truncate the page cache

Christoph Hellwig
2022-11-15T08:43:46Z

> +static int
> +xfs_buffered_write_delalloc_scan(

As pointed out last time, this is generic iomap (or in fact filemap.c,
but maybe start small) logic, so move it there and just pass
xfs_buffered_write_delalloc_punch as a callback.