From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Simon Kirby <sim@netnation.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NFS client behavior on close
Date: Wed, 02 Jun 2004 12:45:21 -0700 [thread overview]
Message-ID: <1086205521.4463.23.camel@lade.trondhjem.org> (raw)
In-Reply-To: <20040602191603.GC4962@netnation.com>
På on , 02/06/2004 klokka 12:16, skreiv Simon Kirby:
> Ok, that makes sense -- if NFSv2 has no fsync(), then using "async" mode
> definitely sounds broken. But is this the same with NFSv3?
The problem is that Linux's "async" implementation short-circuits the
NFSv3 fsync() equivalent. Not good!
> NFS should just extend fsync() back to the server -- with minimal caching
> on the client, normal write-back caching on the server, and where fsync()
> on the client forces the server to write before returning on the client.
> Forcing this to happen on close() doesn't even line up with local file
> systems.
That still leaves room for races with other clients trying to open the
file after the server comes up after a crash, then finding stale data.
(Free|Net|Open)BSD choose to ignore that race, and do the above. I'm not
aware of anybody else doing so, though...
Performance is good, but it should always take second place to data
integrity. There are more than enough people out there who are
entrusting research projects, banking data,... to their NFS server.
Cheers,
Trond
prev parent reply other threads:[~2004-06-02 19:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-31 21:38 Simon Kirby
2004-06-02 6:55 ` Trond Myklebust
2004-06-02 15:41 ` Simon Kirby
2004-06-02 16:38 ` Trond Myklebust
2004-06-02 19:16 ` Simon Kirby
2004-06-02 19:45 ` Trond Myklebust [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=1086205521.4463.23.camel@lade.trondhjem.org \
--to=trond.myklebust@fys.uio.no \
--cc=linux-kernel@vger.kernel.org \
--cc=sim@netnation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®