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

Emmanuel Dreyfus manu at netbsd.org
Wed Oct 15 11:26:19 UTC 2014


Anand Avati <avati at gluster.org> wrote:

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

NetBSD has getdents(2) too, but it returns buffer of struct dirent that
have no NFS cookies. On Linux, getdents(2) returns buffers of struct
dirent or dirent64, but I see no NFS cookie there either.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list