From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Esben Nielsen <esn@cotas.dk>
Cc: linux-mtd@lists.infradead.org
Cc: Holger Schurig <h.schurig@mn-logistik.de>
Subject: Re: Database on JFFS2?
Date: Tue, 15 Apr 2003 17:39:34 +0200 [thread overview]
Message-ID: <20030415153934.GD7721@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <200304151706.36445.esn@cotas.dk>
On Tue, 15 April 2003 17:06:36 +0200, Esben Nielsen wrote:
>
> Yes, but are those writes syncronices with actual flash writes such I am sure
> that a write is _physically_ complete when fsync() returns?
> They certainly ought to be or many applications would get in trouble with
> corrupt data at a sudden reboot.
>
> Let us assume it is so. Then I need to tweak sqlite to only force an fsync()
> when the JFFS2 layer is ready to commit anyway to avoid too many writes.
> Any idea of how to do that?
On NOR, there is absolutely no point in avoiding many writes. Write
the same amount of data in fewer bigger chunks and you have the same
problems.
If you can reduce the amount of data written to flash, do that.
Jörn
--
Courage is not the absence of fear, but rather the judgement that
something else is more important than fear.
-- Ambrose Redmoon
next prev parent reply other threads:[~2003-04-15 15:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-14 8:08 Database on JFFS2? Esben Nielsen
2003-04-14 23:03 ` Charles Manning
2003-04-15 8:06 ` Esben Nielsen
2003-04-15 8:51 ` Holger Schurig
2003-04-15 15:06 ` Esben Nielsen
2003-04-15 15:39 ` Jörn Engel [this message]
2003-04-15 16:11 ` Jasmine Strong
2003-04-15 16:14 ` Jörn Engel
2003-04-15 16:23 ` Jasmine Strong
2003-04-16 11:16 ` Jörn Engel
2003-04-15 9:13 ` Jörn Engel
[not found] <20030415171123.GH7721@wohnheim.fh-wedel.de>
2003-04-16 10:04 ` Esben Nielsen
2003-04-16 11:35 ` Thomas Gleixner
2003-04-16 11:13 ` Jörn Engel
2003-04-16 14:05 ` Thomas Gleixner
2003-04-16 13:08 ` Jörn Engel
2003-04-16 14:30 ` matsunaga
2003-04-16 18:19 ` Thomas Gleixner
2003-04-17 16:02 ` matsunaga
2003-04-22 8:07 ` Esben Nielsen
2003-04-22 8:24 ` Jörn Engel
[not found] <00512BA4F9D3D311912A009027E9B8F407E4D9@NT>
2003-04-16 15:23 ` Jörn Engel
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=20030415153934.GD7721@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=esn@cotas.dk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox