Skip to content
Commit 7d39db14 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: Use struct flex_groups to calculate get_orlov_stats()



Instead of looping over all of the block groups in a flex group
summing their summary statistics, start tracking used_dirs in struct
flex_groups, and use struct flex_groups instead.  This should save a
bit of CPU for mkdir-heavy workloads.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 9f24e420
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment