git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d546f55
)
change the split threahold for the free list to prevent freelist
author
Andrew Tridgell
<tridge@samba.org>
Sat, 2 Dec 2000 00:53:03 +0000
(
00:53
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 2 Dec 2000 00:53:03 +0000
(
00:53
+0000)
fragmentation
(This used to be commit
b64e1ae69314ae110c548f57810c34e620d57075
)
source3/tdb/tdb.c
patch
|
blob
|
history
diff --git
a/source3/tdb/tdb.c
b/source3/tdb/tdb.c
index 97cbba67cc398ad05794790b4b03572fa29ca3ce..7e39e8fa6fead733eaae23bce983af1ac8ff6ba6 100644
(file)
--- 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