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

Anand Avati 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)?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20141015/36c71ba0/attachment.html>


More information about the Gluster-devel mailing list