From: Peter Menzebach <pm-mtd@mw-itcon.de>
To: linux-mtd@lists.infradead.org
Subject: How to decrease the delay to flush write buffer
Date: Mon, 21 Nov 2005 17:52:37 +0100 [thread overview]
Message-ID: <4381FB55.5080001@mw-itcon.de> (raw)
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
next reply other threads:[~2005-11-21 16:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 16:52 Peter Menzebach [this message]
2005-11-21 19:02 ` How to decrease the delay to flush write buffer Josh Boyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4381FB55.5080001@mw-itcon.de \
--to=pm-mtd@mw-itcon.de \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.