[Gluster-devel] Invalid DIR * usage in quota xlator

Emmanuel Dreyfus manu at netbsd.org
Wed Oct 15 02:22:36 UTC 2014

J. Bruce Fields <bfields at fieldses.org> wrote:

> Is the result on non-Linux really to fail any readdir using an offset
> not returned from the current open?

Yes, but thatnon-Linux behabvior is POSIX compliant. Linux just happens
to do more than the standard here.

> I can't see how NFS READDIR will work on non-Linux platforms in that
> case.

Differrent case: seekdir/telldir operate at libc level on data cached in
userland. NFS READDIR operates on data in the kernel.

Emmanuel Dreyfus
manu at netbsd.org

More information about the Gluster-devel mailing list