s3: Implement global locks in a g_lock tdb
commit98873e0d6a38abdcaed48af6504a9a39a23ae027
authorVolker Lendecke <vl@samba.org>
Sun, 25 Oct 2009 15:12:12 +0000 (25 16:12 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 31 Mar 2010 15:54:28 +0000 (31 17:54 +0200)
tree45f7c26564fbea34fb7a6eed6e07caba0d231097
parent675c4b5522394e4431a88d9ab7647ca24765feb6
s3: Implement global locks in a g_lock tdb

This is the basis to implement global locks in ctdb without depending on a
shared file system. The initial goal is to make ctdb persistent transactions
deterministic without too many timeouts.
(cherry picked from commit 4c1c3f2549f32fd069e0e7bf3aec299213f1e85b)
source3/Makefile.in
source3/include/ctdbd_conn.h
source3/include/g_lock.h [new file with mode: 0644]
source3/lib/ctdbd_conn.c
source3/lib/g_lock.c [new file with mode: 0644]
source3/librpc/gen_ndr/messaging.h
source3/librpc/gen_ndr/ndr_messaging.c
source3/librpc/idl/messaging.idl
source3/utils/net.c
source3/utils/net_g_lock.c [new file with mode: 0644]
source3/utils/net_proto.h