commit | 09fe316a7b10219be592118626850e1dfdfcc1aa | [log] [tgz] |
---|---|---|
author | Alex Tomas <alex@clusterfs.com> | Fri Mar 24 03:16:16 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Mar 24 07:33:25 2006 -0800 |
tree | 09542092195cc918f3566102e2b4090936e160b2 | |
parent | e933b6d6511dc80c63ab36fd584715371ae293c7 [diff] |
[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 <kiran@scalex86.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>