diff options
| author | Baokun Li <[email protected]> | 2022-05-28 11:00:16 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-06-18 23:35:57 +0000 |
| commit | cf4ff938b47fc5c00b0ccce53a3b50eca9b32281 (patch) | |
| tree | 8f5c001c273f043f954576f9917196398672e05b /lib/overflow_kunit.c | |
| parent | ext4: fix bug_on ext4_mb_use_inode_pa (diff) | |
| download | kernel-cf4ff938b47fc5c00b0ccce53a3b50eca9b32281.tar.gz kernel-cf4ff938b47fc5c00b0ccce53a3b50eca9b32281.zip | |
ext4: correct the judgment of BUG in ext4_mb_normalize_request
ext4_mb_normalize_request() can move logical start of allocated blocks
to reduce fragmentation and better utilize preallocation. However logical
block requested as a start of allocation (ac->ac_o_ex.fe_logical) should
always be covered by allocated blocks so we should check that by
modifying and to or in the assertion.
Signed-off-by: Baokun Li <[email protected]>
Reviewed-by: Ritesh Harjani <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions
