On Friday 15 June 2012 12:54:41 Ezio Zhang wrote: > On 2012-06-14 20:45, Charles Manning wrote: > > On Thursday 14 June 2012 21:06:26 Ezio Zhang wrote: > > > > You will have to tell us much more than that. Are you using the latest > > code? Are you using Linux or something else?... > > > > -- CHarles > > i used yaffs in uc/os II,the source code is 2012-04-03 version. > i just do the operations that as above. these operation are capsuled > in a thread that running very frequently . > and run yaffs_bg_gc() as a background thread that running every ten > minutes Have you got all the locking right? If you run the background processing without proper locking there can be problems. -- Charles