Krishnan Parthasarathi <kparthas@xxxxxxxxxx> wrote: > Could you explain which sequence of function calls lead to > mutex lock and mutex unlock being called by different threads? > Meanwhile, I am trying to find one such sequence to understand > the problem better. In the middle of the function is the handler call: handler = state[event_type].handler; GF_ASSERT (handler); ret = handler (event, event->ctx); Between the call and the return, the current task may have moved to a different thread. I guess handler must send a network request, and the ability to return in a different thread is normal synctask at work. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@xxxxxxxxxx _______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-devel