Re: [PATCH 0/2] ext4: ensure WRITE_ZEROES is power-failure-safe.
From: Theodore Ts'o
Date: Thu Aug 06 2026 - 11:02:41 EST
On Wed, 29 Jul 2026 16:59:16 +0800, Zhang Yi wrote:
> This series is extracted from the last patch of my previous series
> "ext4: fix unaligned edge handling in FALLOC_FL_WRITE_ZEROES"[1]. It
> fixes the issue where FALLOC_FL_WRITE_ZEROES could leave written extents
> beyond EOF after a power failure (reported by Jan). This series fixes
> the on-disk orphan list corruption and filesystem corruption that could
> occur during partial extent conversion in
> ext4_convert_unwritten_extents() as reported by sashiko in the previous
> version.
>
> [...]
Applied, thanks!
[1/2] ext4: export converted block count from ext4_convert_unwritten_extents()
commit: 5b3dcb924a38ecd2c0d828ff30c357357eda1da8
[2/2] ext4: protect WRITE_ZEROES written extents with orphan list
commit: f7237a775c8f3e99e0e77b7c10fb626815fb2877
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>