Re: How to fix wrong telldir/seekdir usage

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

 



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.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@xxxxxxxxxx
_______________________________________________
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