All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Le Rouzic <aime.le-rouzic@bull.net>,
	Chuck Lever <chuck.lever@oracle.com>,
	Varun Chandramohan <varunc@linux.vnet.ibm.com>,
	Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
	Frank S Filz <ffilz@us.ibm.com>
Subject: Re: NFSD IPv6 support for 2.6.29
Date: Wed, 10 Dec 2008 11:37:15 -0500	[thread overview]
Message-ID: <20081210163715.GC28263@fieldses.org> (raw)
In-Reply-To: <1228921485.2914.14.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>

On Wed, Dec 10, 2008 at 10:04:45AM -0500, Trond Myklebust wrote:
> On Wed, 2008-12-10 at 15:48 +0100, Le Rouzic wrote:
> 
> >   Hi,
> >   I joined at this mail two wireshark traces. One when it was working 
> > (trace_2.6.27-rc3)
> >   and the other one with the error(trace_2.6.28-rc2).
> >   It looks to come because the operation NVERIFY which was returned 
> > NFS_OK before
> >   now returns NFS4ERR_SAME making AIX retrying the readdir with an 
> > incremented cookie .
> 
> While there may be a server bug here, it definitely is wrong for the AIX
> client to be sending a READDIR request with a cookie argument of '1'.
> RFC3530 is adamant that
> 
>         For READDIR arguments, cookie values of 1 and 2 should not be
>         used and for READDIR results cookie values of 0, 1, and 2 should
>         not be returned.
> 
> That said, I'd love to understand why the server replied to the first
> READDIR request with no entries, and yet with EOF not set. Is it perhaps
> because the 'dircount' was too small, Bruce?

Oops, my bad--mention of readdir should have reminded me of commit
b726e923ea4d216027e466aa602d914e4b4a63af "Fix nfsd truncation of readdir
results", which fixed a problem like that; that went into -rc4, so worth
retesting with -rc4.

Also, spurious NFS4ERR_SAME calls are a symptom of the ctime resolution
problem so worth retrying with a different filesystem with you're using
ext2/3.

--b.

      parent reply	other threads:[~2008-12-10 16:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29 17:04 NFSD IPv6 support for 2.6.29 Chuck Lever
2008-10-30  3:09 ` Varun Chandramohan
2008-11-10  5:15 ` Varun Chandramohan
2008-11-12  5:57   ` Chuck Lever
2008-11-12 16:02     ` Le Rouzic
2008-11-12 16:20       ` Chuck Lever
2008-11-17 17:52         ` Le Rouzic
2008-11-17 18:19           ` Chuck Lever
2008-12-09 12:37             ` Le Rouzic
2008-12-09 16:24               ` Chuck Lever
2008-12-09 21:04                 ` J. Bruce Fields
2008-12-10 14:48                   ` Le Rouzic
2008-12-10 15:04                     ` Trond Myklebust
     [not found]                       ` <1228921485.2914.14.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2008-12-10 16:37                         ` J. Bruce Fields [this message]

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=20081210163715.GC28263@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=aime.le-rouzic@bull.net \
    --cc=chuck.lever@oracle.com \
    --cc=ffilz@us.ibm.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    --cc=varunc@linux.vnet.ibm.com \
    /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.