Re: [PATCH v3 0/3] ext4: fix two bugs in ext4_mb_normalize_request
From: Theodore Ts'o
Date: Fri Jun 17 2022 - 22:12:54 EST
On Sat, 28 May 2022 19:00:14 +0800, Baokun Li wrote:
> The logical block map reached before the problem stack was 1011.
> The estimated location of the size logical block of the inde plus
> the required allocation length 7, the size is 1018.
>
> But the i_size of inode is 1299, so the size is 1299,
> the aligned size is 2048, and the end is 2048.
> Because of the restriction of ar -> pleft, start==648.
>
> [...]
I've applied the first two patches, thanks!
[1/3] ext4: fix bug_on ext4_mb_use_inode_pa
commit: 0fb337007c8cbdaef5bed798c30a82723f97f4cb
[2/3] ext4: correct the judgment of BUG in ext4_mb_normalize_request
commit: d1389cc90702fea565a6efd4d1d0c5c8fe1cc317
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>