public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* How to decrease the delay to flush write buffer
@ 2005-11-21 16:52 Peter Menzebach
  2005-11-21 19:02 ` Josh Boyer
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Menzebach @ 2005-11-21 16:52 UTC (permalink / raw)
  To: linux-mtd

Hi,
I am using jffs2 on Atmel dataflash. I encounter sometimes errors like 
"Empty flash at 0x004a7814 ends at 0x004a79c0" and "read_dnode: header 
CRC failed on node at 0x63d670: read 0xffffffff, calculated 0x8f83d3bc".
My guess at the moment is, that this happens at unclean reboots (power 
off), where the write buffer is not flushed. For dataflash 
CONFIG_JFFS2_FS_WRITEBUFFER is mandatory.

For my purpose this would be avoided more or less completely, if the 
write buffer would be flushed after a delay of some 100 ms instead of 
some seconds. How can I reduce this timer?

Best regards
Peter



-- 
Peter Menzebach
Menzebach und Wolff IT-Consulting GbR
Phone +49 751 355 387 1

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

end of thread, other threads:[~2005-11-21 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 16:52 How to decrease the delay to flush write buffer Peter Menzebach
2005-11-21 19:02 ` Josh Boyer

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