Hi All,

Our nand flash driver is really low, so it takes 4 minutes to mount after not clear umount.
mini-UPS is impossible, my system is a handheld product. :)
Is it possible that don't call yaffs_ScanBackwards after not clear umount? It really kills time.

Can I use this solution to reduce the mounting time (after normal umount or not clear umount):
1) assume the size of yaffs2 partition is 3G, it's called mypartition.
2) create a file which is called myfile and its size is 2.9G into mypartition
3) after mount mypartition, then mount myfile as vfat filesystem.
4) read and write files from/to vfat filesystem.

Any comment?

Alex

2008/7/29 Charles Manning <manningc2@actrix.gen.nz>
On Tuesday 29 July 2008 10:11:47 James Kehl wrote:
> > -----Original Message-----
> > From: yaffs-bounces@lists.aleph1.co.uk [mailto:yaffs-
> > bounces@lists.aleph1.co.uk] On Behalf Of Wookey
> > Sent: Tuesday, 29 July 2008 2:16 AM
> > To: alex z
> > Cc: celeber2@gmail.com; yaffs@lists.aleph1.co.uk
> > Subject: Re: [Yaffs] Mounting time
> >
> > well, yes, that's what happens. Can you split your partitions into
> > smaller chunks, make (some of) them read-only? Battery backup allowing
> > proper shutdown?
>
> Does anyone have any figures on how long it takes to create a
> checkpoint? Does it depend on partition size, or activity?

It depends on partition size and the number of files.

>
> If the recommended solution is - effectively - a mini-UPS and a
> power-fail interrupt, then I'd like some vague idea how large the 'UPS'
> will need to be :)

The time is easy to measure: just do a umount.

It should take only approx the same amount of time as a checkpointed mount (ie
3 sec or so in this case).

>
> James
>
>
> _______________________________________________
> yaffs mailing list
> yaffs@lists.aleph1.co.uk
> http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs



_______________________________________________
yaffs mailing list
yaffs@lists.aleph1.co.uk
http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs