[doesn't work] JFFS2: Dynamically choose inocache hash size
Daniel Drake
dsd at laptop.org
Thu Oct 7 12:09:59 EDT 2010
On 7 October 2010 16:33, Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:
> Does #define INOCACHE_HASHSIZE <something bigger> work?
Yes. Tested for years as value 1024 in OLPC builds.
> if so I would guess something is using inocache_hashsize before
> it is initialized.
Me too. But it's initialized early, at the same time as inocache_list.
And all users of inocache_hashsize use the list at the same time. So
if that were as obvious as it sounds, we'd be seeing bigger problems.
Thanks for your input!
Daniel
More information about the linux-mtd
mailing list