RE: JFFS2 Support for Large Flash Designs

Johnson, Charles F
2007-03-07T01:39:30Z

What is this list's opinion of YAFFS ?

Charles Johnson
Ultra-Mobility Group
Platform Software Engineering
Intel Corporation
charles.f.johnson@intel.com
503-712-5181

-----Original Message-----
From: Josh Boyer [mailto:jwboyer@gmail.com]
Sent: Tuesday, March 06, 2007 5:37 PM
To: Johnson, Charles F
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2 Support for Large Flash Designs

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