From: Theodore Ts'o Date: Thu, 16 Aug 2012 15:59:04 +0000 (-0400) Subject: ext4: fix long mount times on very big file systems X-Git-Tag: v3.2.29~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ac2515cf5201e7762c16303d860b6ec0e02aecb;p=pandora-kernel.git 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" Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed