On 09/14/2014 10:39 AM, Emmanuel Dreyfus wrote:
Pranith Kumar Karampuri <pkarampu@xxxxxxxxxx> wrote:
Just to make sure I understand the problem, the issue is happening
because self-heal-daemon uses anonymous fds to perform readdirs? i.e.
there is no explicit opendir on the directory. Everytime there is a
readdir it may lead to opendir/seekdir/readdir/closedir. Did I get that
right?
Yes, on the brick, it happens in xlator/features/index.
I believe posix xlator doesn't have this problem for non-anonymous fds
where the DIR* stream is open till the final unref on the fd.
Then perhaps the solution is to change xlator/features/index behavior to
match xlator/storage/posix? There is also
xlator/features/snapview-server that may be affected.
I can do that. Do we know the answer to Avati's question about how
readdir works for nfs handles?
Pranith
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel