[Openais] totempg reentrancy

Steven Dake scd at broked.org
Fri Jan 20 14:21:15 PST 2006


I found during debugging AMF some strange behavior in the totempg
layer.  I tracked it down to the fact that totempg_mcast (or msg_mcast)
is not reentrant, meaning it is not possible to call a mcast from a
message handler that was delivered a message.

This happens within the AMF quite often, and may also happen within the
CKPT and EVT resynchronization.  Muni do you know for sure it happens in
ckpt resync?

I think this is something we will have to fix before we finally release
0.70.1.

I have attached a patch which fixes the problem for trunk.  Could we get
some review then I'll work up something for picacho?

I have thought through this patch and it appears to solve multiple
levels of reentrancy as well, but I could use more eyes and brains to
think about the problem.

Thanks
-steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reentrancy.patch
Type: text/x-patch
Size: 2230 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20060120/2ebd259d/reentrancy-0001.bin


More information about the Openais mailing list