[Gluster-devel] Invalid DIR * usage in quota xlator
avati at gluster.org
Wed Oct 15 09:47:44 UTC 2014
On Tue, Oct 14, 2014 at 7:22 PM, Emmanuel Dreyfus <manu at netbsd.org> wrote:
> 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.
Is there a way to get hold of the directory entry cookies used by NFS
readdir from user-space? some sort of a NetBSD specific syscall (like
getdents of Linux)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-devel