Re: [PATCH v2] ext4: report unwritten extent conversion failures as writeback errors

From: Theodore Ts'o

Date: Thu Nov 19 2026 - 09:49:46 EST



On Sun, 01 Nov 2026 10:21:45 +0000, guolingxing wrote:
> When a data writeback bio completes successfully but the subsequent
> unwritten extent conversion fails, ext4_end_io_end() does not record
> the error in the inode's mapping writeback error state.
>
> Bio failures are already recorded by ext4_end_bio(), but conversion
> failures are not. When the conversion is processed asynchronously,
> its return value is not propagated to userspace, so fsync() may
> return success despite the failed conversion.
>
> [...]

Applied, thanks!

[1/1] ext4: report unwritten extent conversion failures as writeback errors
commit: 027cfceb35626dc85a24dbf1a8be7e955534353c

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>