Large JFFS2 filesystem problem

Andy Hawkins a.hawkins at cabletime.com
Tue Jul 27 09:44:06 EDT 2004


Hi,

On Tue, 2004-07-27 at 13:11, Thomas Gleixner wrote:
> It should be easy to fix the scan code. All we have to do is to reduce
> the chunk size which we read in one go. The functionality to do so is
> already there and its simple to make it work
> 
> Can you try the following patch ?
> Please let me know if it works.

[snip patch]

Apologies...I didn't read the code fully enough to realise that it would
use that block size in a loop to read the entire flash. I changed the
'kmalloc' to a 'vmalloc' and this appeared to work. Your patch also has
the desired effect.

> > Previously, someone recommended waiting for YAFFS2, as this is likely to
> > be more efficient with large filesystems. Does anyone have any idea as
> > to when this is likely to be available?
> 
> Ask on the YAFFS mailing list.

Ok, I'll do this.

Thanks.

Andy






More information about the linux-mtd mailing list