]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fast ext3_statfs
authorAlex Tomas <alex@clusterfs.com>
Fri, 24 Mar 2006 11:16:16 +0000 (03:16 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:25 +0000 (07:33 -0800)
commit5abb67478cf99a35dabeb3fc5550a46943fd9e31
tree09542092195cc918f3566102e2b4090936e160b2
parentb536958d0e93f3b23a235c09ba379632df9be528
[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>
fs/ext3/super.c