Re: [PATCH v4 0/9] ext4: fix unaligned edge handling in FALLOC_FL_WRITE_ZEROES
From: Theodore Ts'o
Date: Thu Jul 23 2026 - 09:16:11 EST
On Tue, 14 Jul 2026 16:00:35 +0800, Zhang Yi wrote:
> This is v4 of the series to fix unaligned edge handling in
> FALLOC_FL_WRITE_ZEROES. No code changes have been made relative to v3.
> This iteration solely adds a comment to document the race condition in
> ext4_block_zero_eof() that prevents zeroing of inline inode's tail
> block.
>
> [...]
Applied, thanks!
[1/9] ext4: use FGP_WRITEBEGIN for tail block zeroing
commit: e1cf7b5f5c8ad1e00d00c50c61c3e8fdc79cd422
[2/9] ext4: skip tail block zeroing for inline data files
commit: 2fff82f081401a61a47e8171f6392d2b0cde5a30
[3/9] ext4: check return value of ext4_get_block() in ext4_load_tail_bh()
commit: 705a3fd3bac167f1dabe3d3bba46cd484c5528dd
[4/9] ext4: move partial block zeroing earlier in ext4_zero_range()
commit: b16e9d27a643a3cf8907c994d25ed52717f36418
[5/9] ext4: clarify return semantics of ext4_load_tail_bh()
commit: 012e6a2c9ff4d28abd4f32e4d68decff47297d06
[6/9] ext4: track partial-zero outcome per edge in ext4_zero_partial_blocks()
commit: 4c1f6931395ad026415cbdb924ffc240f86eb557
[7/9] ext4: zero out whole block for clean edges in WRITE_ZEROES
commit: a5179156ac1d9a6646da42254e4c461e1fc20096
[8/9] ext4: write back partial-zeroed edges in WRITE_ZEROES
commit: d19d239ada9b7c92d086a1f051b7566538ee0089
[9/9] ext4: protect WRITE_ZEROES written extents with orphan list
(dropped due error handling concerns; will be submitted separately)
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>