public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* UBIFS sync question
@ 2008-09-30 22:28 Bruce_Leonard
  2008-09-30 22:53 ` Bruce_Leonard
  2008-10-01  5:40 ` Artem Bityutskiy
  0 siblings, 2 replies; 8+ messages in thread
From: Bruce_Leonard @ 2008-09-30 22:28 UTC (permalink / raw)
  To: linux-mtd

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-10-02 12:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30 22:28 UBIFS sync question Bruce_Leonard
2008-09-30 22:53 ` Bruce_Leonard
2008-10-01  5:40 ` Artem Bityutskiy
2008-10-01 17:06   ` Bruce_Leonard
2008-10-01 17:32     ` Josh Boyer
2008-10-01 17:40       ` Bruce_Leonard
2008-10-02  5:21         ` Artem Bityutskiy
2008-10-02 12:55   ` Jamie Lokier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox