summaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-08-16 11:59:04 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-08-17 09:23:00 -0400
commit0548bbb85337e532ca2ed697c3e9b227ff2ed4b4 (patch)
treeaed6d4a1b8feb45bf4edad074ba891adc9c0c50e /fs/ext4/extents.c
parent7a4c5de27efa4c2ecca87af0a3deea63446367e2 (diff)
downloadop-kernel-dev-0548bbb85337e532ca2ed697c3e9b227ff2ed4b4.zip
op-kernel-dev-0548bbb85337e532ca2ed697c3e9b227ff2ed4b4.tar.gz
ext4: fix long mount times on very big file systems
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> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/ext4/extents.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud