From b64e1ae69314ae110c548f57810c34e620d57075 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 --- source/tdb/tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/tdb/tdb.c') 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 -- cgit