diff options
author | Jan Kara <jack@suse.cz> | 2022-09-08 11:21:26 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-09-22 04:11:55 +0200 |
commit | 613c5a85898d1cd44e68f28d65eccf64a8ace9cf (patch) | |
tree | cf8054168d54ed90c2855f739a2ecdcf45ec27bc /COPYING | |
parent | ext4: avoid unnecessary spreading of allocations among groups (diff) | |
download | linux-613c5a85898d1cd44e68f28d65eccf64a8ace9cf.tar.xz linux-613c5a85898d1cd44e68f28d65eccf64a8ace9cf.zip |
ext4: make directory inode spreading reflect flexbg size
Currently the Orlov inode allocator searches for free inodes for a
directory only in flex block groups with at most inodes_per_group/16
more directory inodes than average per flex block group. However with
growing size of flex block group this becomes unnecessarily strict.
Scale allowed difference from average directory count per flex block
group with flex block group size as we do with other metrics.
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Cc: stable@kernel.org
Link: https://lore.kernel.org/all/0d81a7c2-46b7-6010-62a4-3e6cfc1628d6@i2se.com/
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220908092136.11770-3-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions