From: Alex Tomas Date: Fri, 24 Mar 2006 11:16:16 +0000 (-0800) Subject: [PATCH] fast ext3_statfs X-Git-Tag: v2.6.17-rc1~914 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09fe316a7b10219be592118626850e1dfdfcc1aa;p=pandora-kernel.git [PATCH] fast ext3_statfs Under I/O load it may take up to a dozen seconds to read all group descriptors. This is what ext3_statfs() does. At the same time, we already maintain global numbers of free inodes/blocks. Why don't we use them instead of group reading and summing? Cc: Ravikiran G Thirumalai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed