From e23067ad65778aed2437d96719968757101ec08e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Dec 2000 00:53:03 +0000 Subject: change the split threahold for the free list to prevent freelist fragmentation (This used to be commit b64e1ae69314ae110c548f57810c34e620d57075) --- source3/tdb/tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index 97cbba67cc..7e39e8fa6f 100644 --- a/source3/tdb/tdb.c +++ b/source3/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 -- cgit