Still getting some NFS htree strangeness

Jeremy Fitzhardinge (jeremy@goop.org)
08 Mar 2003 23:14:05 -0800


On Sat, 2003-03-08 at 05:13, Theodore Ts'o wrote:
> I've backported all of the bugfixes to the 2.5 dxdir/htree patches to
> 2.4, and have created a new set of patches for Linux 2.4.21rc5. At this
> point it *looks* like we've fixed all of the htree bugs that people have
> reported, including the brelse bug, the memory leak bugs, and the NFS
> compatibility problems.

I'm still getting odd results from programs doing readdir over NFS. I
haven't really nailed down what's happening yet, but I'm getting readdir
failing with EOVERFLOW. Strace doesn't show any syscalls failing, and
an inspection of the glibc source of readdir() shows that it can return
EOVERFLOW, but I don't really understand the code yet. It may be that
it assumes that the getdents "offset" is really a file offset rather
than a random number.

I'm inclined to suspect that it is a glibc bug, but I'm not willing to
say so until I've worked out what's really going on. Also, even if it
were, it would be worth working around if possible (otherwise htree+nfs
is still effectively useless).

I'll see if I can get something more concrete showing what's going on.

J

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/