[PATCH] JFFS2: Dynamically choose inocache hash size

Artem Bityutskiy dedekind1 at gmail.com
Fri Oct 8 01:51:18 EDT 2010


On Thu, 2010-10-07 at 20:35 +0100, David Woodhouse wrote:
> On Thu, 2010-10-07 at 22:32 +0300, Artem Bityutskiy wrote:
> > Why is this complication needed? Unless there is a very good reason, I'd
> > just stick with older patch you sent, which I BTW also have in my
> > l2-mtd-2.6.git tree: 
> 
> I asked for it. With smaller file systems, a huge increase buys nothing
> and is just bloat.

OK, I looked closer to the code and I see that I misunderstood this
constant. I though it is only about increasing the size of an array of
integers, but this is about increasing the size of an array of
struct jffs2_inode_cache.

Fair enough.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list