summaryrefslogtreecommitdiffstats
path: root/source/locking/brlock.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-06 10:40:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:25 -0500
commitf3421ae4cfa263c0e7a8e934b40342ee9885d239 (patch)
tree053db1edd7d49c791a1e392f3f2bcf10eda9d3b8 /source/locking/brlock.c
parent97af3a019b196d530a50ffc05c57568e2dbda4bb (diff)
downloadsamba-f3421ae4cfa263c0e7a8e934b40342ee9885d239.tar.gz
samba-f3421ae4cfa263c0e7a8e934b40342ee9885d239.tar.xz
samba-f3421ae4cfa263c0e7a8e934b40342ee9885d239.zip
r21723: Make use of the per-hashchain "freelists"
Diffstat (limited to 'source/locking/brlock.c')
-rw-r--r--source/locking/brlock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/locking/brlock.c b/source/locking/brlock.c
index 872ed2bbeaf..76a4039d823 100644
--- a/source/locking/brlock.c
+++ b/source/locking/brlock.c
@@ -273,6 +273,9 @@ void brl_init(int read_only)
lock_path("brlock.tdb")));
return;
}
+
+ /* Activate the per-hashchain freelist */
+ tdb_set_max_dead(tdb, 5);
}
/****************************************************************************