summaryrefslogtreecommitdiff
path: root/ctdb/common
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-07-09 16:20:11 +0200
committerRalph Boehme <slow@samba.org>2017-07-12 09:01:17 +0200
commit2bce9cb72f3ac7efc2f4f48b0cffa1876364ae8c (patch)
tree7b9aa1fe9826e77df1130ecee062fb68a78702b5 /ctdb/common
parentfe7020b0d1b6fe1ca9add4815e20c2e2262cb6c9 (diff)
downloadsamba-2bce9cb72f3ac7efc2f4f48b0cffa1876364ae8c.tar.gz
ctdb: enable mutexes for volatile TDBs by default
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12891 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/common')
-rw-r--r--ctdb/common/tunable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/tunable.c b/ctdb/common/tunable.c
index ed7a52da153..14f6828bd15 100644
--- a/ctdb/common/tunable.c
+++ b/ctdb/common/tunable.c
@@ -145,7 +145,7 @@ static struct {
offsetof(struct ctdb_tunable_list, no_ip_host_on_all_disabled) },
{ "Samba3AvoidDeadlocks", 0, true,
offsetof(struct ctdb_tunable_list, samba3_hack) },
- { "TDBMutexEnabled", 0, false,
+ { "TDBMutexEnabled", 1, false,
offsetof(struct ctdb_tunable_list, mutex_enabled) },
{ "LockProcessesPerDB", 200, false,
offsetof(struct ctdb_tunable_list, lock_processes_per_db) },