From: Theodore Ts'o Date: Thu, 5 Mar 2009 00:31:53 +0000 (-0500) Subject: ext4: Use struct flex_groups to calculate get_orlov_stats() X-Git-Tag: v2.6.30-rc1~416^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d39db14a42cbd719c7515b9da8f85a2eb6a0633;p=pandora-kernel.git 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: "Theodore Ts'o" --- Reading git-diff-tree failed