UBIFS sync question

Bruce_Leonard at selinc.com Bruce_Leonard at selinc.com
Tue Sep 30 18:53:12 EDT 2008


linux-mtd-bounces at lists.infradead.org wrote on 09/30/2008 03:28:10 PM:

> Artem,
> 
> We've run into a side effect that we think is probably a design choice 
in 
> UBIFS, but we want to make sure before we start trying to troubleshoot a 

> "bug".  What we do is open an existing  file in a UBIFS formated UBI 
> volume on a NAND flash, add a few lines to it, close the file, then 
> WITHOUT un-mounting the file system, reboot the box (simulating a power 
> outage).  When the box reboots and we look at the file, it's zero length 

> and has no contents.  I suspect it's because UBIFS does less frequent 
> syncs than say ext2 for performance reasons, and we're just losing the 
> contents of the file because there's no sync before the reboot.
> 
> Is this correct or do we need to start digging for something broken?
> 
> Thanks.
> 
> Bruce
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

Ummm, never mind.  Stupidity attack over.  If I would RTFM that you went 
to the trouble of writing all would be good with the world :).

Bruce



More information about the linux-mtd mailing list