s3: Implement global locks in a g_lock tdb
authorVolker Lendecke <vl@samba.org>
Sun, 25 Oct 2009 15:12:12 +0000 (16:12 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Apr 2010 07:39:13 +0000 (09:39 +0200)
commitf9c3ae1e17b109bd6d7832b5316dda1c688e0a5f
tree69dd6045d8015155b039512ac6afdb076b57ff89
parentf215147364f6c39e44d3a986a03214c294946197
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)
(cherry picked from commit 98873e0d6a38abdcaed48af6504a9a39a23ae027)
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