s3: Attempt to fix a deadlock between smbd and ctdbd
authorVolker Lendecke <vl@samba.org>
Fri, 16 Oct 2009 10:37:27 +0000 (12:37 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 19 Oct 2009 11:09:49 +0000 (13:09 +0200)
commita2d1d3cd0add8d116454b32d337813fbaf8f1c76
tree51a06f36c1aa0b4c270b1dd8f40fae080fe840df
parentea3128a0f1d3842f1e6c14390b4967a5758b5257
s3: Attempt to fix a deadlock between smbd and ctdbd

In Samba we access the notify databases under the locking.tdb lock when closing a file. This leads to a deadlock with ctdb when doing a recovery.

This is a bad hack, and ctdb will need to get fixed for this. But for now, it
seems necessary.
source/smbd/notify.c