Skip to content
Commit 65e5a0e1 authored by Daniel Drake's avatar Daniel Drake Committed by David Woodhouse
Browse files

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: default avatarDaniel Drake <dsd@laptop.org>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent b46daf7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment