From: David Warren <warren@atmos.washington.edu>
To: "Bryan O'Sullivan" <bos@serpentine.com>, trond.myklebust@fys.uio.no
Cc: nfs@lists.sourceforge.net
Subject: Re: NFS caching bug is back
Date: Thu, 19 Apr 2007 11:06:47 -0700 [thread overview]
Message-ID: <4627AFB7.2080602@atmos.washington.edu> (raw)
In-Reply-To: <4627980C.2090308@serpentine.com>
[-- Attachment #1.1: Type: text/plain, Size: 2589 bytes --]
No it doesn't. I just let the changed file sit for about 45 minutes and
the inode still has not changed. It is very similar to a bug I sent in
for 2.6.11 that had been fixed.
I have also now verified that the same thing happens with a Solaris 10
client, so it is likely to be the server side.
From wireshark I see the client sending packets with:
PUTFH and GETATTR
then at the end
PUTFH and ACCESS
The return values for the ACCESS are:
access: 0x2d
.... .1 = allow READ
.... 0. = not allow LOOKUP
...1 .. = allow MODIFY
..1. .. = allow EXTEND
.0.. .. = not allow DELETE
1... .. = allow EXECUTE
The request had
Supported: 0x1f
.... .1 = allow READ
.... 1. = allow LOOKUP
...1 .. = allow MODIFY
..1. .. = allow EXTEND
.1.. .. = allow DELETE
0... .. = allow EXECUTE
Access: 0x1f
.... .1 = allow READ
.... 1. = allow LOOKUP
...1 .. = allow MODIFY
..1. .. = allow EXTEND
.1.. .. = allow DELETE
0... .. = allow EXECUTE
I don't know that much about the inner workings of the NFS protocol, but
considering that the inode has been removed and replaced by a new one
shouldn't all the return values from the access request be 0? It seems
odd that read, modify, extend and execute are allowed for a nonexistent
object.
Bryan O'Sullivan wrote:
> David Warren wrote:
>> A bug that we turned in a while ago is back in the 2.6.20 kernels,
>> only worse. I have found it in 2.6.20.6 and 2.6.20.7.
>
> These symptoms look similar to this bug:
>
> http://bugzilla.kernel.org/show_bug.cgi?id=8305
>
> Which has been around since 2.6.17. Do you find that the problem
> magically resolves itself after a little while?
>
> <b
Trond Myklebust wrote:
> On Thu, 2007-04-19 at 08:43 -0700, David Warren wrote:
>
>> A bug that we turned in a while ago is back in the 2.6.20 kernels,
>> only worse. I have found it in 2.6.20.6 and 2.6.20.7. It happens with
>> both NFS4 and NFS3 mounts. Clients don't see inode changes (delete and
>> recreate file):
>>
>
> Interesting. Do you see an OPEN request being sent to the server when
> you 'cat' the file on enkf2 or enkf3? You can check either using
> ethereal/wireshark, or by comparing the values in the OPEN column
> in /proc/self/mountstats on the client before and after issuing the
> 'cat' command.
>
> Trond
--
David Warren INTERNET: warren@atmos.washington.edu
(206) 543-0945 Fax: (206) 543-0308
University of Washington
Dept of Atmospheric Sciences, Box 351640
Seattle, WA 98195-1640
-------------------------------------------------------------------------------
DECUS E-PUBS Library Committee representative
SeaLUG DECUS Chair
[-- Attachment #1.2: Type: text/html, Size: 3541 bytes --]
[-- Attachment #2: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #3: Type: text/plain, Size: 140 bytes --]
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2007-04-19 18:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-19 15:43 NFS caching bug is back David Warren
2007-04-19 16:25 ` Bryan O'Sullivan
2007-04-19 18:06 ` David Warren [this message]
2007-04-19 18:22 ` Trond Myklebust
2007-04-19 19:31 ` David Warren
2007-04-19 19:36 ` David Warren
2007-04-19 19:52 ` David Warren
2007-04-19 21:29 ` NFS caching bug is back - We think we found it David Warren
2007-04-19 16:36 ` NFS caching bug is back 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=4627AFB7.2080602@atmos.washington.edu \
--to=warren@atmos.washington.edu \
--cc=bos@serpentine.com \
--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 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.