ext4: Use struct flex_groups to calculate get_orlov_stats()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 5 Mar 2009 00:31:53 +0000 (19:31 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 5 Mar 2009 00:31:53 +0000 (19:31 -0500)
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: "Theodore Ts'o" <tytso@mit.edu>

No differences found