On Tuesday 24 February 2009 15:55:44 rogerz zhang wrote: > Hi: > > I'm using yaffs on a 6×1GB nandflash array. When the disk is full of files, > it takes as long as 2-3 minutes to mount it. I did a simple profiling and > found out yaffs_Scan and yaffs_Scanback costs most of the time. > > Is there any way to improve the scanning speed on large yaffs device? Mounting can take quite a lot of time depending on what is written to the flash. If you shut down cleanly then the "checkpoint" mechanism will save a snapshot of the state and that should restore really quickly (a few seconds). There are some potential improvements but they are non-trivial. -- Charles