Pranith Kumar Karampuri <pkara...@redhat.com> 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.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Reply via email to