Linux NFS development
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Christoph Hellwig <hch@infradead.org>, nfs@lists.sourceforge.net
Subject: Re: Eliminating the BKL from the NFS and RPC clients
Date: Sat, 20 Jan 2007 09:33:14 +0000	[thread overview]
Message-ID: <20070120093314.GA29643@infradead.org> (raw)
In-Reply-To: <1169184980.6158.19.camel@lade.trondhjem.org>

On Fri, Jan 19, 2007 at 12:36:20AM -0500, Trond Myklebust wrote:
> No. Attributes may change at any moment on the server. That is _very_
> different to the case where the user or the client changes the
> attributes via setattr. For one thing, we don't have to notify the
> server. Secondly, we do want to be able to update those attributes from
> asynchronous contexts (for instance when a WRITE request returns with
> updated).
> The client should in any case _never_ be overriding the server
> attributes. The only exception to that rule is if we have cached writes
> which change the file size. We do try to detect that...

Sorry, my previous mail wasn't clear enough on how I want setattr
used here.  I think it's right to make all these attribute updates through
->setattr so filesystem can deal with them explicitly.  Of course we'd
still need to treat explicit updates different from implicit one,
probably by adding in ATTR_IMPLIZIT for the later.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-01-20  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18 23:40 Eliminating the BKL from the NFS and RPC clients Chuck Lever
2007-01-19  1:23 ` Christoph Hellwig
2007-01-19  5:36   ` Trond Myklebust
2007-01-20  9:33     ` Christoph Hellwig [this message]
2007-01-24 20:28     ` Chuck Lever

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=20070120093314.GA29643@infradead.org \
    --to=hch@infradead.org \
    --cc=nfs@lists.sourceforge.net \
    --cc=trond.myklebust@fys.uio.no \
    /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