diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2013-11-11 00:32:31 +1100 |
|---|---|---|
| committer | Amitay Isaacs <amitay@samba.org> | 2014-07-09 06:45:17 +0200 |
| commit | 55fbe364b93000c7766e95e16fa35cc6a80c697b (patch) | |
| tree | 8ab8e316a8c8ff4667576a74145d4a66c0fd7d13 /ctdb/include | |
| parent | 2e7b0870ec1014f8320032b86dc54f0a6fd55776 (diff) | |
ctdb-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
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index aeebed1b51..e94d2c84f6 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -126,6 +126,7 @@ struct ctdb_tunable { uint32_t pulldb_preallocation_size; uint32_t no_ip_host_on_all_disabled; uint32_t samba3_hack; + uint32_t mutex_enabled; }; /* |
