summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorBadari Pulavarty <pbadari@us.ibm.com>2007-07-15 23:42:00 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 09:05:52 -0700
commit5e70030d4cf91613530a23b40ad9919bb9ee114f (patch)
tree30a53102b73179840cac06ed325ece645585a566 /mm
parenta71ce8c6c9bf269b192f352ea555217815cf027e (diff)
downloadlinux-stable-5e70030d4cf91613530a23b40ad9919bb9ee114f.tar.gz
linux-stable-5e70030d4cf91613530a23b40ad9919bb9ee114f.tar.bz2
linux-stable-5e70030d4cf91613530a23b40ad9919bb9ee114f.zip
ext4: statfs speed up
This is a patch that speeds up statfs. It is very simple - the "overhead" calculation, which takes a huge amount of time for large filesystems, never changes unless the size of the filesystem itself changes. That means we can store it in memory and only recalculate if the filesystem has been resized (almost never). It also fixes a minor problem that we never update the on-disk superblock free blocks/inodes counts until the filesystem is unmounted. While not fatal, we may as well update that on disk when we have the information, and it makes things like debugfs and dumpe2fs report a bit more accurate info. Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com> Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions