From: Daniel Drake Date: Thu, 7 Oct 2010 18:14:02 +0000 (+0100) Subject: jffs2: Dynamically choose inocache hash size X-Git-Tag: v2.6.37-rc1~22^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e5a0e18e5fb5bc6cfabd8ef4b9fc1c8569ba62;p=pandora-kernel.git jffs2: Dynamically choose inocache hash size When JFFS2 is used for large volumes, the mount times are quite long. Increasing the hash size provides a significant speed boost on the OLPC XO-1 laptop. Add logic that dynamically selects a hash size based on the size of the medium. A 64mb medium will result in a hash size of 128, and a 512mb medium will result in a hash size of 1024. Signed-off-by: Daniel Drake Signed-off-by: David Woodhouse --- Reading git-diff-tree failed