• Alex Tomas's avatar
    [PATCH] fast ext3_statfs · 09fe316a
    Alex Tomas authored
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    09fe316a
super.c 74.5 KB