1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

change the split threahold for the free list to prevent freelist

fragmentation
(This used to be commit b64e1ae693)
This commit is contained in:
Andrew Tridgell 2000-12-02 00:53:03 +00:00
parent d546f555a2
commit e23067ad65

View File

@ -39,7 +39,7 @@
#define TDB_MAGIC (0x26011999U) #define TDB_MAGIC (0x26011999U)
#define TDB_FREE_MAGIC (~TDB_MAGIC) #define TDB_FREE_MAGIC (~TDB_MAGIC)
#define TDB_ALIGN 4 #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 DEFAULT_HASH_SIZE 131
#define TDB_PAGE_SIZE 0x2000 #define TDB_PAGE_SIZE 0x2000
#define TDB_LEN_MULTIPLIER 10 #define TDB_LEN_MULTIPLIER 10