some questions regarding the write operation on JFFS2

Artem B. Bityuckiy dedekind at infradead.org
Wed Jan 19 08:15:41 EST 2005


On Tue, 18 Jan 2005, Vahid Fereydunkolahi wrote:

> Hi All,
>  I traced the write operation from the Linux kernel to
> the JFFS2. I have some questions:
>     1) Is there any chance that there could be some
> partial writes on the NAND flash (if power failure
> happens during write operation).
Yes, there is chance.

> 
>     2) Does SYNC has any meaning when using the JFFS2.
> As fas as I noticed the write operations are
> formwarded to the MTD device, and they are not cached.
For NAND JFFS2 has per-NAND page buffer, so sync flushes it. see 
jffs2/wbuf.c.

> 
> Thank you so much in advance,
> --vahid
You're welcome :-)

> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Read only the mail you want - Yahoo! Mail SpamGuard. 
> http://promotions.yahoo.com/new_mail 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list