Re: [PATCH v2 0/4] iomap: allow partial folio write with iomap_folio_state

From: Christoph Hellwig
Date: Mon Aug 11 2025 - 06:39:04 EST


On Sun, Aug 10, 2025 at 06:15:50PM +0800, alexjlzheng@xxxxxxxxx wrote:
> From: Jinliang Zheng <alexjlzheng@xxxxxxxxxxx>
>
> With iomap_folio_state, we can identify uptodate states at the block
> level, and a read_folio reading can correctly handle partially
> uptodate folios.
>
> Therefore, when a partial write occurs, accept the block-aligned
> partial write instead of rejecting the entire write.

We're not rejecting the entire write, but instead moving on to the
next loop iteration.

> This patchset has been tested by xfstests' generic and xfs group, and
> there's no new failed cases compared to the lastest upstream version kernel.

What is the motivation for this series? Do you see performance
improvements in a workload you care about?