Commit c456601e authored by Pan Dong's avatar Pan Dong Committed by Yang Yingliang
Browse files

ext4: fix avefreec in find_group_orlov



stable inclusion
from linux-4.19.198
commit fdb1e064f2cc38f99e4ccf6890f03b1ae3c52729

--------------------------------

commit c89849cc upstream.

The avefreec should be average free clusters instead
of average free blocks, otherwize Orlov's allocator
will not work properly when bigalloc enabled.

Cc: stable@kernel.org
Signed-off-by: default avatarPan Dong <pandong.peter@bytedance.com>
Link: https://lore.kernel.org/r/20210525073656.31594-1-pandong.peter@bytedance.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 23898ea5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment