summaryrefslogtreecommitdiffstats
path: root/ctdb/Makefile.in
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-10-11 11:29:29 +1100
committerAmitay Isaacs <amitay@gmail.com>2012-10-20 02:48:44 +1100
commit83306337df00f11dd03e06c2043e2b27b2f0c17c (patch)
tree00e5c68d7a10d8c2a027285a253f01248313682e /ctdb/Makefile.in
parent1011d10a515f165c29fb5470ad04acf856a6217a (diff)
downloadsamba-83306337df00f11dd03e06c2043e2b27b2f0c17c.tar.gz
samba-83306337df00f11dd03e06c2043e2b27b2f0c17c.tar.xz
samba-83306337df00f11dd03e06c2043e2b27b2f0c17c.zip
ctdbd: locking: Provide non-blocking API for locking of TDB record/db/alldb
This introduces a consistent API for handling locks on single record, complete db or all dbs. The locks are taken out in a child process. In cases of timeout, find the processes that currently hold the lock and log. Callback functions for locking requests take locked boolean to indicate whether the lock was successfully obtained or not. Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 1af99cf0de9919dd89af1feab6d1bd18b95d82ff)
Diffstat (limited to 'ctdb/Makefile.in')
-rwxr-xr-xctdb/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in
index 6c822601735..2d5ef6253af 100755
--- a/ctdb/Makefile.in
+++ b/ctdb/Makefile.in
@@ -88,7 +88,7 @@ CTDB_SERVER_OBJ = server/ctdbd.o server/ctdb_daemon.o server/ctdb_lockwait.o \
server/ctdb_serverids.o server/ctdb_persistent.o \
server/ctdb_keepalive.o server/ctdb_logging.o server/ctdb_uptime.o \
server/ctdb_vacuum.o server/ctdb_banning.o server/ctdb_statistics.o \
- server/ctdb_update_record.o \
+ server/ctdb_update_record.o server/ctdb_lock.o \
$(CTDB_CLIENT_OBJ) $(CTDB_TCP_OBJ) @INFINIBAND_WRAPPER_OBJ@
TEST_BINS=tests/bin/ctdb_bench tests/bin/ctdb_fetch tests/bin/ctdb_fetch_one \