Re: How to fix wrong telldir/seekdir usage

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

 




On 09/14/2014 10:41 PM, Emmanuel Dreyfus wrote:
'Pranith Kumar Karampuri <pkarampu@xxxxxxxxxx> wrote:

I can do that.
That will teach me about that anonymous fd. Reading the code it seems
afr-self-heald.c code does opendir and use the fd for readdir syncop,
which suggest underlying xlator will use the same DIR *, but logging in
index.c I can see it calls opendir/closedir on each readdir.

Do we know the answer to Avati's question about how
readdir works for nfs handles?
Not yet. I asked in the relevant mailing list and I still await for a
reply. I suspect we hit a dark area within a grey area :-)
If we hit a dead-end there we should make this change in self-heald.c Keep us posted.

Pranith.


_______________________________________________
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