File size limitation on JFFS2.

Han Chang posaune at hotmail.com
Tue Jul 11 20:18:46 EDT 2006


David,

Thanks for the info. I'm using 2.6.14. Moving to a 2.6.18-rc1 will be a too 
big of change for me unless it's absolutely necessary. I'm very interested 
in the knowing how to move to 32KiB node. Could you shed some light on this?

Many thanks!
Han


>From: David Woodhouse <dwmw2 at infradead.org>
>To: Han Chang <posaune at hotmail.com>
>CC: linux-mtd at lists.infradead.org
>Subject: Re: File size limitation on JFFS2.
>Date: Wed, 12 Jul 2006 00:01:51 +0100
>
>On Tue, 2006-07-11 at 15:32 -0700, Han Chang wrote:
> > I'm trying to put a file of size 1G on the JFFS2/NAND. I got "Out of 
>Memory"
> > error. Looks like the max size of file I can put on it is 500M, though 
>my
> > NAND has 2G space. This is on Linux. I noticed JFFS2 is using filemap in 
>the
> > Linux mm, where it crashed. Any help?
>
>Yeah, JFFS2 doesn't scale well to that kind of size. Are you using the
>2.6.18-rc1 kernel? That has some improvements to its memory usage.
>
>Another thing that'll help with this is going to 16KiB or 32KiB node
>sizes instead of limiting them to 4KiB.
>
>--
>dwmw2
>






More information about the linux-mtd mailing list