Re: [PATCH] ext4: align max orphan file size with e2fsprogs limit
From: Theodore Ts'o
Date: Mon Dec 01 2025 - 11:24:54 EST
On Thu, 20 Nov 2025 21:42:33 +0800, libaokun@xxxxxxxxxxxxxxx wrote:
> Kernel commit 0a6ce20c1564 ("ext4: verify orphan file size is not too big")
> limits the maximum supported orphan file size to 8 << 20.
>
> However, in e2fsprogs, the orphan file size is set to 32–512 filesystem
> blocks when creating a filesystem.
>
> With 64k block size, formatting an ext4 fs >32G gives an orphan file bigger
> than the kernel allows, so mount prints an error and fails:
>
> [...]
Applied, thanks!
[1/1] ext4: align max orphan file size with e2fsprogs limit
commit: 7c11c56eb32eae96893eebafdbe3decadefe88ad
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>