Re: JFFS2 Support for Large Flash Designs

Josh Boyer
2007-03-07T01:36:54Z

On 3/6/07, Johnson, Charles F <charles.f.johnson@intel.com> wrote:
> My understanding is that JFFS2 does not support flash file systems
> larger than 4GB. What would be the issues with supporting more than 4GB
> of NAND flash.

Creating JFFS3. Or LogFS. Seriously. And support in MTD for devices > 4GiB.

To support more than 4GiB, you need to change the internal variables
used to track sizes and offsets. But as I said before, the log
structured nature of JFFS2 will present practical limits long before
4GiB because JFFS2 scales linearly. Scanning a 1GiB JFFS2 filesystem
can already take minutes depending on various factors such as CPU
speed and filesystem utilization.

LogFS is under work to avoid these scaling issues as it doesn't
require a full scan of flash. JFFS3, when it comes about, will do
something similar from what I understand.

josh