[Freeipa-devel] [PATCH 0018] Deadlock detection logic

Petr Spacek pspacek at redhat.com
Tue Apr 24 13:52:00 UTC 2012


On 04/24/2012 03:21 PM, Petr Spacek wrote:
> Hello,
>
> this patch adds deadlock detection (based on simple timeout) to current code.
> If (probable) deadlock is detected, current action is stopped with proper error.
>
> It properly detects "Simo's deadlock" with 'connections' parameter == 1.
> (Described in https://fedorahosted.org/bind-dyndb-ldap/ticket/66)
>
> Deadlock itself will be fixed by separate patch.
>
> Petr^2 Spacek

Self-NACK :-)

Second version of the patch is attached. ldap_pool_getconnection() and 
ldap_pool_putconnection() now has same interface and more consistent behaviour.

Overall functionality is same.

Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0018-Add-simple-semaphore-deadlock-detection-logic.patch
Type: text/x-patch
Size: 11946 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120424/84f9ab67/attachment.bin>


More information about the Freeipa-devel mailing list