gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Hang in glfs_init_wait()


From: Anand Avati
Subject: Re: [Gluster-devel] Hang in glfs_init_wait()
Date: Wed, 18 Jul 2012 10:05:26 -0700

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 <address@hidden> 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/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]