From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: bernd-schubert@gmx.de
Cc: nfs@lists.sourceforge.net
Subject: Re: (no subject)
Date: Wed, 26 Jul 2006 07:43:24 -0400 [thread overview]
Message-ID: <1153914204.5656.13.camel@localhost> (raw)
In-Reply-To: <200607261247.35653.bernd.schubert@pci.uni-heidelberg.de>
On Wed, 2006-07-26 at 12:47 +0200, Bernd Schubert wrote:
> Hi,
>
> I'm just looking into a nfs i/o error problem. The server for /etc is unfs3
> and the client is 2.6.16. I need some help regarding the nfs protocol.
>
> Probably after updating mozilla /etc/mozilla/mozillarc was rewritten, I also
> guess the inode was recycled.
>
> A 'ls /etc/mozilla/mozillarc' worked fine and showed the correct results.
> A 'cat /etc/mozilla/mozillarc' gave i/o errors.
>
> Ethereal shows that the getattr gives the correct results, but the read call
> gives an NFS3ERR_STALE.
> Should the client in this case drop its filehandle cache and entirely
> re-request the file from the server, or is the given i/o error ok?
The ESTALE error is usually correct. The client should not be reopening
the file unless it can guarantee that the file is the same as the one
that was originally open()ed.
> From the point of the server, I guess, it already should return the
> NFS3ERR_STALE for the getattr call, shouldn't it? I will look into the
> sources to see why it didn't. (unfs3 was compiled with inode generation
> number support).
Yes. Under the close-to-open caching model, the expectation is that the
filehandle will remain valid from the moment the successful GETATTR call
is sent in the first open() request until the last call to close(). If
unfs3 is caching filehandles, then it needs to use something like
inotify in order to figure out when to invalidate its cache.
Cheers,
Trond
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2006-07-28 11:26 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-26 10:47 (no subject) Bernd Schubert
2006-07-26 11:43 ` Trond Myklebust [this message]
2006-07-26 11:56 ` protocol question Bernd Schubert
2006-07-26 12:19 ` Trond Myklebust
2006-07-26 12:24 ` Trond Myklebust
2006-07-26 15:32 ` Bernd Schubert
-- strict thread matches above, loose matches on Subject: below --
2010-11-10 18:10 (no subject) Russell Cattelan
2010-07-16 13:40 Tom H
2009-06-05 10:41 Mike Brodbelt
2007-11-08 15:36 Willis
2007-10-31 20:59 immanuel lily
2007-10-26 21:38 『晴れたらいいね』
2007-10-19 3:44 Neil Brown
2007-08-10 7:16 grikxd
2007-08-08 20:15 采购成本降低技巧及供应商管理
2007-08-06 13:45 Piotr Kandziora
2007-08-02 7:24 Piotr Kandziora
2007-08-02 15:45 ` Jeff Layton
2007-08-02 0:08 Mahoney O.Becky
2007-07-26 9:27 Olive Crosby
2007-07-25 14:36 Eldridge
2007-07-24 14:42 Dennis
2007-07-24 14:41 Bella
2007-07-16 9:48 Riccardo Bini
2007-07-14 14:24 Cummings
2007-06-20 9:00 sun lu
2007-06-07 17:05 [PATCH] locks: provide a file lease method enabling cluster-coherent leases J. Bruce Fields
2007-06-08 22:14 ` (no subject) J. Bruce Fields
2007-04-24 16:25 Fabio Olive Leite
2006-09-11 3:38 qinping
2006-07-08 22:27 潘思广
2006-01-17 21:37 Jonas Lihnell
2006-01-17 21:41 ` Trond Myklebust
2006-01-17 22:18 ` Jonas Lihnell
2005-11-14 21:58 Kyle Perkins
2003-10-14 19:50 Ralph Churchill
2003-10-16 19:42 ` Ralph Churchill
2003-06-04 1:59 xiyu
2003-04-23 18:38 gb
2003-04-23 19:11 ` Spencer Shepler
2003-04-23 19:20 ` Trond Myklebust
2003-03-10 16:32 Lever, Charles
2003-03-09 19:58 Steve Salazar
2003-01-27 14:23 Emanuel.Quass
2003-01-27 15:17 ` Trond Myklebust
2003-01-10 10:29 Adam.Szabo
2002-07-30 11:10 Nir Cohen
2002-07-24 11:53 Nir Cohen
2002-04-25 9:41 Tina Arora
2002-04-03 11:03 Ozy Ali
[not found] <15484.3052.362597.167779@notabene.cse.unsw.edu.au>
2002-03-27 13:36 ` shalini jain
2002-03-25 11:03 Ozy Ali
2002-03-22 14:06 Ozy Ali
2002-03-22 14:45 ` Trond Myklebust
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=1153914204.5656.13.camel@localhost \
--to=trond.myklebust@fys.uio.no \
--cc=bernd-schubert@gmx.de \
--cc=nfs@lists.sourceforge.net \
/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).