On 08/30/2011 01:24 PM, Joerg Schilling wrote:
Jim Meyering<[email protected]> wrote:This may be due to an NFS problem. Here's a case where readdir would return the same name, yet a new pointer, each time, forever: NFS readdir never returns NULL when processing directories with very many\ entries (i.e.,>300K) http://bugzilla.redhat.com/719749This does not look like a NFS problem but like a Linux problem.... If it was an NFS problem, it would happen regardless of the implementation of NFS server and NFS client.
I guess the underlying file system is ext3/ext4. If so, ext3/ext4 and NFS need to be patched. The reason then is a compatibility issue with NFSv2 and 32-bit user space (32 bit long values from telldir() ). We also already run into it with FhGFS.
Patches: http://www.spinics.net/lists/linux-nfs/msg23429.html Cheers, Bernd
