summaryrefslogtreecommitdiffstats
path: root/source/tdb/tdb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-12-02 00:53:03 +0000
committerAndrew Tridgell <tridge@samba.org>2000-12-02 00:53:03 +0000
commitb64e1ae69314ae110c548f57810c34e620d57075 (patch)
tree7ca72f4587edd26490dca07562525a25714a1608 /source/tdb/tdb.c
parent1d63160c751fa968e3a7618d1feb84a9feaa13dc (diff)
downloadsamba-b64e1ae69314ae110c548f57810c34e620d57075.tar.gz
samba-b64e1ae69314ae110c548f57810c34e620d57075.tar.xz
samba-b64e1ae69314ae110c548f57810c34e620d57075.zip
change the split threahold for the free list to prevent freelist
fragmentation
Diffstat (limited to 'source/tdb/tdb.c')
-rw-r--r--source/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/tdb.c b/source/tdb/tdb.c
index 97cbba67cc3..7e39e8fa6fe 100644
--- a/source/tdb/tdb.c
+++ b/source/tdb/tdb.c
@@ -39,7 +39,7 @@
#define TDB_MAGIC (0x26011999U)
#define TDB_FREE_MAGIC (~TDB_MAGIC)
#define TDB_ALIGN 4
-#define MIN_REC_SIZE (2*sizeof(struct list_struct) + TDB_ALIGN)
+#define MIN_REC_SIZE (2*sizeof(struct list_struct) + 200)
#define DEFAULT_HASH_SIZE 131
#define TDB_PAGE_SIZE 0x2000
#define TDB_LEN_MULTIPLIER 10