From: jim owens <jowens@hp.com>
To: Bryan Henderson <hbryan@us.ibm.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: fdatasync/barriers (was : [Bug 421482] Firefox 3 uses fsync excessively)
Date: Fri, 30 May 2008 14:48:22 -0400 [thread overview]
Message-ID: <48404BF6.7070408@hp.com> (raw)
In-Reply-To: <OFE6D3F5C4.0887F214-ON88257459.0057F265-88257459.005A3B12@us.ibm.com>
Bryan Henderson wrote:
> A barrier doesn't say any particular data must sync-to-platter.
I was told by a blkdev expert that there are barrier sequences
that will do this... which probably means I asked the wrong questions.
>>My further understanding is that some layers (and devices)
>>have bugs and don't sync-to-platter.
>
> Those aren't bugs. They're conscious design choices, so the worst you can
> say about them is they are design defects. The designer decided that the
> user would be more upset by constant slowness than by exposure to data
> loss in certain situations. Yes, even though the user's program or OS
> explicitly requested sync-to-platter. But I agree the behavior should be
> documented -- probably in every listing of the device's specifications.
I know it is often a design choice for some system vendors to
say they are posix compliant while not meeting the data
integrity requirements just so they can win benchmarks. They
don't document it, they hope they never get caught. Or do you
think the specs don't require data to reach non-volatile storage?
I'm not worried about devices since I can tell customers to buy
ones that work. I'm worried if the kernel won't save user data.
Trying to convince customers to move off proprietary systems and
onto linux is a tough sell if we don't really protect their data.
So I think I'll put finding a solution to fsync somewhere near the
top of my own todo list.
The large commercial users we (HP) want to pay my expenses would
be a little unforgiving about fsync not working... and they keep
packs of underfed lawyers in kennels :)
jim
next prev parent reply other threads:[~2008-05-30 18:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-421482-310856@https.bugzilla.mozilla.org/>
[not found] ` <200805260513.m4Q5DAU8018498@mrapp54.mozilla.org>
2008-05-26 7:05 ` [Bug 421482] Firefox 3 uses fsync excessively Andrew Morton
2008-05-26 10:07 ` Theodore Tso
2008-05-26 11:10 ` Jörn Engel
2008-05-26 11:38 ` Theodore Tso
2008-05-26 12:52 ` Jörn Engel
2008-05-26 20:22 ` Jamie Lokier
2008-05-29 17:08 ` fdatasync/barriers (was : [Bug 421482] Firefox 3 uses fsync excessively) Bryan Henderson
2008-05-29 18:46 ` jim owens
2008-05-29 23:15 ` Bryan Henderson
2008-05-30 4:00 ` Timothy Shimmin
2008-05-30 14:14 ` jim owens
2008-05-30 16:25 ` Bryan Henderson
2008-05-30 18:48 ` jim owens [this message]
2008-06-02 17:31 ` Bryan Henderson
2008-05-26 18:49 ` [Bug 421482] Firefox 3 uses fsync excessively Andrew Morton
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=48404BF6.7070408@hp.com \
--to=jowens@hp.com \
--cc=hbryan@us.ibm.com \
--cc=linux-fsdevel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).