From: Chris Mason <mason@suse.com>
To: Henrique Faria <henrique@streamworks.com.br>
Cc: reiserfs-list@namesys.com
Subject: Re: Data loss during power off
Date: 27 Jun 2002 10:53:37 -0400 [thread overview]
Message-ID: <1025189617.1657.19.camel@tiny> (raw)
In-Reply-To: <20020626000904.22479.qmail@hm47.locaweb.com.br>
On Tue, 2002-06-25 at 17:09, Henrique Faria wrote:
> Hello!
> We're using reiserfs 3.6.25 and linux 2.4.18, in a 256 MB flash memory card,
> to develop a game. Data is written all the time, in local files, by the main
> process. The "power off" test has to be done, for the machines will be
> turned off with no shutdown process.
> What's happening: pressing the power off button (during data writing) makes
> data to be lost. Is it possible to force the data to be written in the file
> system? I tried to change the JOURNAL_MAX_TRANS_AGE and the
> JOURNAL_MAX_COMMIT_AGE consts. Less data is lost, but I still get some loss.
> Thanks,
The data logging patches also include data=ordered mode. Using that,
plus setting the max trans age (or max batch count), will flush data
blocks right away.
I'm waiting for a tester to confirm I've fixed the page locking problem
w/writepage in the current data logging patch, then I'll do a new
release.
-chris
next prev parent reply other threads:[~2002-06-27 14:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-25 21:09 Data loss during power off Henrique Faria
2002-06-26 0:31 ` Michael Chang
2002-06-26 5:08 ` Oleg Drokin
2002-06-27 14:53 ` Chris Mason [this message]
2002-06-27 12:36 ` Henrique Faria
2002-06-27 16:48 ` Chris Mason
-- strict thread matches above, loose matches on Subject: below --
2002-06-26 15:34 Henrique Faria
2002-06-27 8:01 ` Nikita Danilov
2002-06-27 8:53 ` Philippe Gramoullé
2002-06-27 8:58 ` Nikita Danilov
2002-06-27 14:52 ` Henrique Faria
2002-06-27 17:58 ` Nikita Danilov
2002-06-27 15:34 ` Henrique Faria
2002-06-27 19:08 ` Chris Mason
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=1025189617.1657.19.camel@tiny \
--to=mason@suse.com \
--cc=henrique@streamworks.com.br \
--cc=reiserfs-list@namesys.com \
/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.