public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Xin Zhao <uszhaoxin@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	linux-fsdevel@vger.kernel.org
Subject: Re: NFS readdir problem
Date: Mon, 15 May 2006 13:10:29 -0600	[thread overview]
Message-ID: <20060515191029.GY12272@parisc-linux.org> (raw)
In-Reply-To: <4ae3c140605150836i3f8d3890pa8568bf7d0431a7b@mail.gmail.com>

On Mon, May 15, 2006 at 11:36:53AM -0400, Xin Zhao wrote:
> I use NFS to read a remote directory, which contains 56 entries. But
> after the read, "ls -al" only show 26, 31, or 51 entries in three test
> runs.
> 
> I have read the NFS  code "encode_entry" and related "nfs_readdir",
> "nfs3_proc_readdir"..., but haven't find the right place that can
> cause this problem.
> 
> Is there anyone has similar experience? Please help!

I don't know the answer ... but you could do a little more to help:

 - What's the server?
 - What's the client?
 - Exact versions of OS/kernel running on each

If you're really enthusiastic, you could run tcpdump and look at the
traces to see what filenames are actually being transported across.

      parent reply	other threads:[~2006-05-15 19:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-15 15:36 NFS readdir problem Xin Zhao
2006-05-15 16:18 ` Richard Mittendorfer
2006-05-15 19:10 ` Matthew Wilcox [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=20060515191029.GY12272@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uszhaoxin@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox