Re: Invalid DIR * usage in quota xlator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Oct 14, 2014 at 7:22 PM, Emmanuel Dreyfus <manu@xxxxxxxxxx> wrote:
J. Bruce Fields <bfields@xxxxxxxxxxxx> 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
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux