daemon: Support per-node robust mutex feature
authorAmitay Isaacs <amitay@gmail.com>
Sun, 10 Nov 2013 13:32:31 +0000 (00:32 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 9 Jul 2014 06:14:33 +0000 (16:14 +1000)
commit99ce67c7caa78baaa48fdd43919ab8e03207e1e9
treed1955001e74b0256306d6b706541141d1a43a673
parentb9204e1ecf4addfc5b862383e8f85657e10188f7
daemon: Support per-node robust mutex feature

To enable TDB mutex support, set tunable TDBMutexEnabled=1.

When databases are attached for the first time, attach flags must include
TDB_MUTEX_LOCKING and TDBMutexEnabled must set to enable mutex support.

However, when CTDB attaches databases internally for recovery, it will
enable mutex support if TDBMutexEnabled is set.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Jul  9 06:45:17 CEST 2014 on sn-devel-104

(Imported from commit 55fbe364b93000c7766e95e16fa35cc6a80c697b)
client/ctdb_client.c
include/ctdb_private.h
server/ctdb_ltdb_server.c
server/ctdb_tunables.c