I am using YAFFS2 on a 1 Gig NAND flash and am experiencing a slowdown every time I mount the flash. This mostly occurs when I have deleted a lot of files on the flash. It takes more than the 60 second timeout to complete the mount in some cases.

 

I tracked the slowdown to the yaffs_ScanBackwards function.

 

Is this just “normal operation” for this size of flash? If so is there a way to clean up memory to speed this up?

 

Thanks,

Doug Clemens