Re: Hang in glfs_init_wait()

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

 



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@xxxxxxxxx> 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/


[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