Re: [PATCH v4 00/13] ext4: refactor partial block zero-out for iomap conversion
From: Theodore Ts'o
Date: Fri Apr 10 2026 - 11:53:06 EST
On Fri, 27 Mar 2026 18:29:26 +0800, Zhang Yi wrote:
> Changes since v3:
> - In patch 04, fix the comments of ext4_block_zero_range().
> - Add patch 09, ensure zeroed partial blocks are persisted in SYNC mode
> for ext4_punch_hole() and ext4_zero_range(), This can resolve the
> breaks in the guarantee of data-ordered mode caused by patch 05, as
> pointed out by Sashiko.
> - Add patch 10, unify the inconsistent SYNC mode checks in all
> fallocate paths.
> - In patch 12, fix two issues related to updating the file size in
> error paths, as pointed out by Sashiko.
>
> [...]
Applied, thanks!
[01/13] ext4: add did_zero output parameter to ext4_block_zero_page_range()
commit: 5447c8b9de7581ca7254d712652678cc460a18c2
[02/13] ext4: rename and extend ext4_block_truncate_page()
commit: bd099a0565fce5c771e1d0bfcefec26fb5b1c1b7
[03/13] ext4: factor out journalled block zeroing range
commit: 3b312a6f510ca217607ffacf5cbca2f08c402ec0
[04/13] ext4: rename ext4_block_zero_page_range() to ext4_block_zero_range()
commit: ad11526d1504641b632918e202e23c9c80923fff
[05/13] ext4: move ordered data handling out of ext4_block_do_zero_range()
commit: 69e2d5c1f544982389327ff90b491a0f7d1afe48
[06/13] ext4: remove handle parameters from zero partial block functions
commit: d3609a71b777d073ea6ead2e6eed93e97841fa21
[07/13] ext4: pass allocate range as loff_t to ext4_alloc_file_blocks()
commit: ad1876bc4c4cae59f747b4225007cdc31f834597
[08/13] ext4: move zero partial block range functions out of active handle
commit: c4602a1d09ec7c6dd6f53e5faf3f04e9c02d71eb
[09/13] ext4: ensure zeroed partial blocks are persisted in SYNC mode
commit: 7d81ec0246ff74b10d92a4617fea84eaf06162c0
[10/13] ext4: unify SYNC mode checks in fallocate paths
commit: c3688d212fc6306bbb7136fbc1d0be0f175a5270
[11/13] ext4: remove ctime/mtime update from ext4_alloc_file_blocks()
commit: 116c0bdac2ec059d91045ba3f57cc90cb1e3b71d
[12/13] ext4: move pagecache_isize_extended() out of active handle
commit: 1ad0f42823291bcac371dafd37533f5e8d92acc3
[13/13] ext4: zero post-EOF partial block before appending write
commit: 3f60efd65412dfe4ff33b376a983220ef74056b1
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>