summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-29 22:19:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:46 -0500
commit81d4f40bbe202e5dae3d4d1070b02edf16a9f62e (patch)
treebbaf7d335dfd8743795a8c1aa97474b7b8e9df61 /source3/include
parent70b59a3b20bc3cd3e1456dc552c43cd1da22f1b0 (diff)
downloadsamba-81d4f40bbe202e5dae3d4d1070b02edf16a9f62e.tar.gz
samba-81d4f40bbe202e5dae3d4d1070b02edf16a9f62e.tar.bz2
samba-81d4f40bbe202e5dae3d4d1070b02edf16a9f62e.zip
r14763: Add a new tuning parameter, open files database hash size,
this allows us to experiment with ensuring the tdb hash size for our open files and locking db are appropriately sized. Make the hash size larger by default (10007 instead of 1049) and make the locking db hash size the same as the open file db hash size. Jeremy. (This used to be commit e7225f7e813423c3e2a94af6a9d7ce8a1b50a166)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 916fb6e46d..fb93197636 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -236,7 +236,7 @@
#define MAX_LDAP_REPLICATION_SLEEP_TIME 5000 /* In milliseconds. */
/* tdb hash size for the open database. */
-#define SMB_OPEN_DATABASE_TDB_HASH_SIZE 1049
+#define SMB_OPEN_DATABASE_TDB_HASH_SIZE 10007
/* Characters we disallow in sharenames. */
#define INVALID_SHARENAME_CHARS "%<>*?|/\\+=;:\","