[doesn't work] JFFS2: Dynamically choose inocache hash size

Joakim Tjernlund joakim.tjernlund at transmode.se
Thu Oct 7 11:33:36 EDT 2010


>
> I'm trying to upstream an old OLPC patch which greatly speeds up mounting
> of large jffs2 volumes.
> Took a stab at a suggestion from David (shown here) but it crashes badly.
> Causes lots of WARNINGs to be triggered from __mark_inode_dirty.

Does #define INOCACHE_HASHSIZE <something bigger> work?

if so I would guess something is using inocache_hashsize before
it is initialized.

Perhaps it is time to up INOCACHE_HASHSIZE to 256 or 512?

     Jocke




More information about the linux-mtd mailing list