mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Amann <amann@physik.tu-berlin.de>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Linus Torvalds <torvalds@osdl.org>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.6 breaks kmail (nfs related?)
Date: Fri, 21 May 2004 17:27:14 +0200	[thread overview]
Message-ID: <200405211727.14917.amann@physik.tu-berlin.de> (raw)
In-Reply-To: <1084809309.3669.17.camel@lade.trondhjem.org>

On Monday 17 May 2004 17:55, Trond Myklebust wrote:
> På må , 17/05/2004 klokka 07:31, skreiv Andreas Amann:
> > fstat64(8, 0xbfffe650)                  = -1 ESTALE (Stale NFS file
> > handle) _llseek(8, 0, [373], SEEK_END)          = 0
> > write(8, "X\1\0\0", 4)                  = -1 ESTALE (Stale NFS file
> > handle) write(8,
> > "\5\0\0\0,\0\0a\0z\0/\0w\0t\0z\0t\0+\0N\0S\0+\0001\0s"..., 344) = -1
> > ESTALE (Stale NFS file handle)
>
> That's wierd... Where could that be coming from? The client is *never*
> supposed to generate that on its own. If an ESTALE turns up, it should
> always be generated from the server.
>
> Does that same ESTALE show up on a tcpdump/ethereal dump? If so, could
> you please check that the filehandle that is contained from the reply to
> LOOKUP(".outbox.index") is the same as that which is sent on the
> offending GETATTR call?

I now produced the "etheral" dumps and put them on:
http://wwwnlds.physik.tu-berlin.de/~amann/kmail_bug/kmail_etheral_cut_2.6.4 
http://wwwnlds.physik.tu-berlin.de/~amann/kmail_bug/kmail_etheral_cut_2.6.6

together with the pertinent  "strace"s at:
http://wwwnlds.physik.tu-berlin.de/~amann/kmail_bug/kmail_trace_2.6.4_new
http://wwwnlds.physik.tu-berlin.de/~amann/kmail_bug/kmail_trace_2.6.6_new

I interpret the dump in the failing case with the 2.6.6 client as follows:
First the Filehandle for ".outbox.index" (0xdc36f60a) is delivered by a  
READDIRPLUS Reply (Frame 4 in  kmail_etheral_cut_2.6.6). Then the client does  
GETATTR, ACCESS, SETATTR, READ (Frames 100-114) without any problems. 
The client subsequnetly issues a WRITE and a COMMIT (Frame 741 + 751) command, 
which are still successful. But the immediadetly following GETATTR (Frame 
743) fails with ERR_STALE. 

In the case where the client is 2.6.4, the dumps look very similar, except 
that now a lot of the GETATTR Calls are missing. In particular the GETATTR 
which failed in the 2.6.6 case is not present, and therefore can not fail. 

In both cases the server was 2.4.25. Who is now wrong in this case, the client 
or the server? To me it looks now, as if the server needs to be fixed, but I 
am no expert. 


Andreas




  reply	other threads:[~2004-05-21 15:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-13 12:11 Andreas Amann
2004-05-16  4:46 ` Linus Torvalds
2004-05-16 17:59   ` Trond Myklebust
2004-05-16 18:10     ` Trond Myklebust
2004-05-16 18:19       ` Linus Torvalds
2004-05-16 18:47         ` Trond Myklebust
2004-05-16 18:50           ` Linus Torvalds
2004-05-16 19:10             ` Trond Myklebust
2004-05-17 11:31               ` Andreas Amann
2004-05-17 15:55                 ` Trond Myklebust
2004-05-21 15:27                   ` Andreas Amann [this message]
2004-05-21 16:40                     ` Trond Myklebust
2004-05-21 23:05                       ` Andreas Amann
2004-05-22  3:40                         ` J. Bruce Fields
2004-05-17 21:35                 ` Matthias Urlichs
2004-05-17  6:35 ` Norberto Bensa
2004-05-17  7:14   ` Andrew Morton
2004-05-17 17:35     ` Andrew Morton
2004-05-17 18:01       ` Trond Myklebust
2004-05-17 16:17   ` Frank van Maarseveen

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=200405211727.14917.amann@physik.tu-berlin.de \
    --to=amann@physik.tu-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --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

all inboxes | Powered by JetHome®