Re: [PATCH] ext4: do not report inline conversion allocation failures as fs errors

From: Theodore Ts'o

Date: Thu Nov 19 2026 - 09:48:09 EST



On Thu, 29 Oct 2026 22:57:30 -0400, Hengyu Liang wrote:
> When truncate grows an inline-data file beyond its inline capacity,
> ext4_setattr() first calls ext4_convert_inline_data(). If the conversion
> fails, it jumps to err_out and passes the error to ext4_std_error().
>
> Allocating the first block can fail with -ENOSPC or -EDQUOT on a healthy
> filesystem. Reporting these as filesystem errors records an error in the
> superblock and, with errors=remount-ro, aborts the journal and rejects
> subsequent writes with -EROFS.
>
> [...]

Applied, thanks!

[1/1] ext4: do not report inline conversion allocation failures as fs errors
commit: 1107d7673f64233881ac0e2e110710d4f9cc671c

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