[Top] [All Lists]

Re: 2.6.xx: NFS: directory motion/cam2 contains a readdir loop

To: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Subject: Re: 2.6.xx: NFS: directory motion/cam2 contains a readdir loop
From: Bryan Schumaker <bjschuma@xxxxxxxxxx>
Date: Wed, 27 Jul 2011 12:40:15 -0400
Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-nfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <alpine.DEB.2.02.1107271227340.1451@xxxxxxxxxxxxxxxx>
References: <alpine.DEB.2.02.1107270952270.1451@xxxxxxxxxxxxxxxx> <20110727160752.GC974@xxxxxxxxxxxx> <alpine.DEB.2.02.1107271227340.1451@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110628 Thunderbird/5.0
On 07/27/2011 12:28 PM, Justin Piszcz wrote:
> On Wed, 27 Jul 2011, J. Bruce Fields wrote:
>> On Wed, Jul 27, 2011 at 09:54:09AM -0400, Justin Piszcz wrote:
>>> Hi,
>>> Kernel 2.6.30 on client.
>>> Kernel 2.6.28 on server.
>>> p34 kernel: [92223.918892] NFS: directory motion/cam2 contains a
>>> readdir loop.  Please contact your server vendor.  Offending cookie: 10272
>> What filesystem on the server are you exporting?
> Hi,
> xfs.
> /dev/sda1 on / type xfs (rw,noatime)
> Nothing special, thoughts?

Are there a lot of files in the directory you're exporting?  It looks like 
cookie 10272 is mapped to multiple files. When the client tries to resume 
reading from this cookie, xfs will reply from the first matching file and cause 
the client to enter a loop.

- Bryan

> Justin.
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>