From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Can Sar <csar@stanford.edu>
Cc: Xin Zhao <uszhaoxin@gmail.com>, linux-fsdevel@vger.kernel.org
Subject: Re: Why must NFS access metadata in synchronous mode?
Date: Fri, 02 Jun 2006 00:06:53 -0400 [thread overview]
Message-ID: <1149221213.17428.21.camel@lade.trondhjem.org> (raw)
In-Reply-To: <3B8B2FFD-A2CD-4657-9AB2-564CB64D61CF@stanford.edu>
On Thu, 2006-06-01 at 20:42 -0700, Can Sar wrote:
> On Jun 1, 2006, at 10:26 AM, Trond Myklebust wrote:
> >
> > ...and how does that help the user that has been told the operation
> > succeeded?
>
> It wouldn't. For externally visible operations the kernel just waits
> until it actually has the right answer.
> Contributions from that paper would definitely speed up NFS on Linux
> but they require extensive work, which is one of the reasons no one
> has actually implemented a production level version of that work yet
> (researchers generally move on to new papers instead).
Performance needs to be weighted against application expectations (i.e.
POSIX correctness). If the application is told that an operation has
succeeded, then you had better make damned sure that the operation
_will_ succeed (and within finite time, please!).
As I said, we are working within the IETF on a model for asynchronous
operations, but as Andreas Dilger suggested, this does require a
stateful model in which the client can reliably conclude whether or not
an operation will succeed in the future. Such a model is understandably
complex to design, and so we're introducing the framework in a
step-by-step manner: NFSv4.1 will include directory read delegations
(which allow you to cache directory operations that do not modify the
directory until a conflict occurs). I hope we will get round to
completing a model for write delegations in NFSv4.2.
Trond
next prev parent reply other threads:[~2006-06-02 4:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-01 4:04 Why must NFS access metadata in synchronous mode? Xin Zhao
2006-06-01 5:55 ` Trond Myklebust
2006-06-01 16:27 ` Xin Zhao
2006-06-01 17:26 ` Trond Myklebust
2006-06-02 3:42 ` Can Sar
2006-06-02 4:06 ` Trond Myklebust [this message]
2006-06-01 21:40 ` Andreas Dilger
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=1149221213.17428.21.camel@lade.trondhjem.org \
--to=trond.myklebust@fys.uio.no \
--cc=csar@stanford.edu \
--cc=linux-fsdevel@vger.kernel.org \
--cc=uszhaoxin@gmail.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;
as well as URLs for NNTP newsgroup(s).