All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Boyer <jwboyer@gmail.com>
To: Peter Menzebach <pm-mtd@mw-itcon.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: How to decrease the delay to flush write buffer
Date: Mon, 21 Nov 2005 13:02:54 -0600	[thread overview]
Message-ID: <625fc13d0511211102o7c8ba59aobdd55d0b6f1e3dae@mail.gmail.com> (raw)
In-Reply-To: <4381FB55.5080001@mw-itcon.de>

On 11/21/05, Peter Menzebach <pm-mtd@mw-itcon.de> wrote:
> 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?

http://linux-mtd.infradead.org/faq/jffs2.html

Read "How is ensured, that data is written to flash ?"

josh

      reply	other threads:[~2005-11-21 19:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 16:52 How to decrease the delay to flush write buffer Peter Menzebach
2005-11-21 19:02 ` Josh Boyer [this message]

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=625fc13d0511211102o7c8ba59aobdd55d0b6f1e3dae@mail.gmail.com \
    --to=jwboyer@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=pm-mtd@mw-itcon.de \
    /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.