All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Steiner <fsteiner-mail@bio.ifi.lmu.de>
To: Frank Steiner <fsteiner-mail@bio.ifi.lmu.de>
Cc: Kris Vassallo <kris@linuxcertified.com>,
	Neil Brown <neilb@cse.unsw.edu.au>,
	nfs@lists.sourceforge.net, Olaf Kirch <okir@suse.de>,
	Trond Myklebust <trond.myklebust@fys.uio.no>
Subject: Re: Stale File handles keep coming back
Date: Mon, 09 May 2005 08:04:01 +0200	[thread overview]
Message-ID: <427EFD51.5090800@bio.ifi.lmu.de> (raw)
In-Reply-To: <427B10F7.3090600@bio.ifi.lmu.de>

Frank Steiner wrote

>  > That client-side patch can do nothing to prevent errors from being
>  > returned if a server is erroneously generating ESTALE.
>  >
>  > It will just make it unnecessary to do the equivalent of "cd
>  > `pwd`" (i.e. rewalk the path) on the client once the server manages to
>  > sort itself out.
> 
> I'm a bit confused if this patch would help or not. I will test it.

Applying that patch to the SuSE kernel 2.6.8-24.14 seems to solve the
stale problem for me. Well, reading Tronds explanation, I guess it
does not really "solve" but maybe just hide the bug... If the client
does an equivlate of "cd `pwd`", then it will just recover from the
stale handle without the user recognizing it at all.

Anyway, with the normal SuSE 2.6.8-24.14 I get a stale "." whenever
I start firefox on the client and chdir to the firefox profile
directory. After 30 minutes the shell reliably has a stale directory.

With the patch applied and the client running the patched kernel,
(the server doesn't need to) there is no stale in this situation
after more than one day and that's all I need to make my users happy.

People in our department running server and client with 2.6.11 report
they still have massive problems with stale NFS handles, so it looks
like this patch just helped for a certain problem in 2.6.8...

cu,
Frank




-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2005-05-09  6:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-25 21:07 Stale File handles keep coming back Kris Vassallo
2005-04-26 12:27 ` Neil Brown
2005-04-26 22:22   ` Kris Vassallo
2005-04-27  2:42     ` Neil Brown
2005-04-29  7:01       ` Frank Steiner
2005-04-29  8:00         ` Frank Steiner
2005-04-29 14:08         ` Trond Myklebust
2005-04-30 13:15           ` Frank Steiner
2005-04-30 16:29             ` Trond Myklebust
2005-05-02  6:24               ` Frank Steiner
2005-05-03 10:45         ` Frank Steiner
2005-05-03 11:11         ` Frank Steiner
2005-05-05  0:15           ` Kris Vassallo
2005-05-06  6:38             ` Frank Steiner
2005-05-09  6:04               ` Frank Steiner [this message]
2005-04-29 14:03       ` Frank Steiner
2005-05-03 21:21   ` Kris Vassallo
2005-05-04  5:44     ` Frank Steiner
2005-05-04 22:48       ` Kris Vassallo
2005-05-04 23:06         ` Trond Myklebust
2005-05-12  1:01       ` Kris Vassallo
2005-05-12  1:14         ` Neil Brown

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=427EFD51.5090800@bio.ifi.lmu.de \
    --to=fsteiner-mail@bio.ifi.lmu.de \
    --cc=kris@linuxcertified.com \
    --cc=neilb@cse.unsw.edu.au \
    --cc=nfs@lists.sourceforge.net \
    --cc=okir@suse.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.