Re: struct dirent in snapview-server.c

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

 



>
> It is always possible to translate structures, the question is whether
> it is useful of not. d_off is the offset of this struct dirent within
> the buffer for the whole directory returned by getdents(2) system call.
>
> Since we glusterfs does not use getdents(2) but upper level
> opendir(3)/readdir(3), which use getdents(2) themselves, it never has
> the whole buffer, and therefore I am not sure it can make any use of
> d_off.

Understood that makes sense.

-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes
_______________________________________________
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