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. - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html