From: bert hubert <ahu@ds9a.nl>
To: Andrew Morton <akpm@osdl.org>
Cc: Alberto Bertogli <albertogli@telpin.com.ar>,
linux-kernel@vger.kernel.org
Subject: Re: Syncing a file's metadata in a portable way
Date: Sat, 10 Jul 2004 13:54:04 +0200 [thread overview]
Message-ID: <20040710115404.GA11420@outpost.ds9a.nl> (raw)
In-Reply-To: <20040709023948.59497dca.akpm@osdl.org>
On Fri, Jul 09, 2004 at 02:39:48AM -0700, Andrew Morton wrote:
> It depends on the Linux filesystem. On ext3, for example, fsync() will
> sync all of the filesytem's metadata (and data in journalled and ordered
> data mode).
I've noticed that on ext3, SQLite transactions are nearly useless, with the
smallest transactions causing 5 megabyte/s writout activity based on
relatively small writes. kjournald bore a large part of that according to
laptop_mode's block dump.
Do we actually need to flush the journal on fsync? I'm no fs theorist but I
wonder if having data in the journal isn't good enough - in case of failure,
the data will be there on recovery?
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
next prev parent reply other threads:[~2004-07-10 11:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-09 3:06 Syncing a file's metadata in a portable way Alberto Bertogli
2004-07-09 9:39 ` Andrew Morton
2004-07-10 11:54 ` bert hubert [this message]
2004-07-10 20:14 ` Andrew Morton
2004-07-11 10:27 ` bert hubert
2004-07-11 10:35 ` Andrew Morton
2004-07-11 14:19 ` Alberto Bertogli
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=20040710115404.GA11420@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=akpm@osdl.org \
--cc=albertogli@telpin.com.ar \
--cc=linux-kernel@vger.kernel.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.