aboutsummaryrefslogtreecommitdiff
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-08-16 11:59:04 -0400
committerBen Hutchings <ben@decadent.org.uk>2012-09-12 03:37:07 +0100
commit4ac2515cf5201e7762c16303d860b6ec0e02aecb (patch)
treee3946f47c96b4fbdcb9eb4aa0d2a47cc1ed3c5fd /fs/fs_struct.c
parent077bfcc044b6ec6f780bc53b206dd1ba10aa2cd3 (diff)
ext4: fix long mount times on very big file systems
commit 0548bbb85337e532ca2ed697c3e9b227ff2ed4b4 upstream. Commit 8aeb00ff85a: "ext4: fix overhead calculation used by ext4_statfs()" introduced a O(n**2) calculation which makes very large file systems take forever to mount. Fix this with an optimization for non-bigalloc file systems. (For bigalloc file systems the overhead needs to be set in the the superblock.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions