[Gluster-devel] Hang in glfs_init_wait()

Anand Avati anand.avati at gmail.com
Wed Jul 18 17:05:26 UTC 2012


Why do you want to re-init an already existing object? Rather, why do you
want to fini an object which you know you will init again? There is a cost
to establishing and tearing down glfs_t. Why not initialize it once and use
it for the lifetime of the process?

Avati

On Wed, Jul 18, 2012 at 1:15 AM, Bharata B Rao <bharata.rao at gmail.com>wrote:

> Hi,
>
> I see the following hang when I reissue glfs_init() to reinitialize
> the GlusterFS connection.
>
> (gdb) bt
> #0  0x00007ffff63a2ae5 in pthread_cond_wait@@GLIBC_2.3.2 () from
> /lib64/libpthread.so.0
> #1  0x00007ffff7284dcb in glfs_init_wait (fs=0x5555569d1f80) at glfs.c:462
>
> I assume that a proper glfs_fini() should eventually fix this problem.
>
> Regards,
> Bharata.
> --
> http://bharata.sulekha.com/blog/posts.htm,
> http://raobharata.wordpress.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120718/6c5a3324/attachment-0003.html>


More information about the Gluster-devel mailing list