diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-12-02 00:53:03 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-12-02 00:53:03 +0000 |
commit | e23067ad65778aed2437d96719968757101ec08e (patch) | |
tree | 0778c9a56b133203d7eed88b5cf883ff1bb29f90 | |
parent | d546f555a22e1c4aaa29851ab7a226137fce3508 (diff) | |
download | samba-e23067ad65778aed2437d96719968757101ec08e.tar.gz samba-e23067ad65778aed2437d96719968757101ec08e.tar.bz2 samba-e23067ad65778aed2437d96719968757101ec08e.zip |
change the split threahold for the free list to prevent freelist
fragmentation
(This used to be commit b64e1ae69314ae110c548f57810c34e620d57075)
-rw-r--r-- | source3/tdb/tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |