Commit Graph

226 Commits

Author SHA1 Message Date
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Ralf Haferkamp
24eb35f9b7 fix bdb_cache_deref() definition to match prototype 2011-02-23 15:51:09 +00:00
Howard Chu
4f2949b1ce Use refcnt instead of keeping entry locked in Add response 2011-02-23 03:53:21 +00:00
Hallvard Furuseth
2a9ef9badc Silence gcc -Wformat: Cast printf %p arg to void* 2011-02-04 21:24:13 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Howard Chu
0393fe8974 Cleanup for #6660 2010-12-23 04:40:57 +00:00
Howard Chu
f58a646ad6 ITS#6660 preliminary fix. debug additions need to be cleaned up. 2010-12-23 00:16:19 +00:00
Hallvard Furuseth
720aa4b77e Plug mutex/rwlock leaks (destroy them) 2010-12-20 10:57:06 +00:00
Howard Chu
3b2cef17eb ITS#6577 real fix: keep dn2id cursor open until we re-acquire lock
on entryInfo, otherwise BDB locks in reader txn are released too soon
2010-07-01 16:38:32 +00:00
Howard Chu
bdf52f4fc4 ITS#6577 potential fix, found using valgrind/drd. please test. 2010-06-20 21:28:04 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
c99d8465b7 ITS#6501 zero lockobjs 2010-03-31 06:22:06 +00:00
Howard Chu
f685d9e78b Clean up prev commit 2009-11-04 06:09:51 +00:00
Howard Chu
f6983802e2 More for ITS#6360 2009-11-04 05:52:04 +00:00
Howard Chu
0ecb68e02d ITS#6360 fix cache cursize count 2009-11-04 00:47:45 +00:00
Hallvard Furuseth
dc26fb37eb Fix previous commit: backslash-space-newline -> backslash-newline 2009-10-21 20:15:15 +00:00
Ralf Haferkamp
96ce821037 ITS#6341 removal of last entry from cache caused corruption in the lru list 2009-10-20 14:41:09 +00:00
Howard Chu
474991afdf ITS#6222 dncachesize defaults to 0 == unlimited 2009-07-25 07:13:50 +00:00
Howard Chu
53f8b761f1 More for ITS#6177 2009-06-19 07:11:01 +00:00
Howard Chu
68e252c9a9 ITS#6177 proposed fix, please test 2009-06-19 02:06:58 +00:00
Howard Chu
6bd1861101 Fix c_leaves count 2009-05-08 06:37:05 +00:00
Howard Chu
1a8e3f9e3e More for prev commit 2009-05-08 04:48:03 +00:00
Howard Chu
7f9a60ae7a More for prev commit: delete bdb_cache_info(), must use cache_find_id().
Fixed cache.c_cursize counting.
2009-05-06 13:57:01 +00:00
Howard Chu
64dc274655 ITS#6095 experimental fix: avoid purging other cases of in-use EntryInfos,
avoid using purged EntryInfos that have not yet been fully unlinked.
2009-05-06 08:33:26 +00:00
Howard Chu
87e2ad347b Fix typo in prev commit 2009-05-03 00:47:25 +00:00
Howard Chu
10baa9a60a ITS#6088 entryinfo cleanup 2009-05-03 00:30:20 +00:00
Howard Chu
6e27fa5076 ITS#6074 freeing already-freed EntryInfos... 2009-05-01 04:36:39 +00:00
Howard Chu
1d16ee5622 One more tweak for #5860 2009-03-19 06:06:37 +00:00
Howard Chu
65c24bdb1f More for #5860 - if the cache blew past the maxsize, bring it all the way
back down to size.
2009-03-18 18:18:40 +00:00
Howard Chu
0121f8c01d More for ITS#5860 2009-03-18 11:21:53 +00:00
Howard Chu
7f2f9c4b30 Cleanup prev commit 2009-03-18 09:44:20 +00:00
Howard Chu
cc950c70d1 More for ITS#5860, always check cache sizes 2009-03-18 08:52:38 +00:00
Howard Chu
ba75a865d7 ITS#6012 don't abort NULL txns (blind fix) 2009-03-17 18:09:40 +00:00
Howard Chu
6d1aa51604 ITS#5860 - more for entry cache counts 2009-03-02 18:35:28 +00:00
Howard Chu
7198869342 More for prev - keep eifree at a reasonable number 2009-03-02 08:33:33 +00:00
Howard Chu
8ba8500ff1 ITS#5860 - free 10*minfree DN cache entries instead of just 1 per pass 2009-03-02 08:27:20 +00:00
Howard Chu
288e99cb08 ITS#5860 - NO_CACHE entries were not being counted when they were
converted to regular cached entries (so the entry cache grew beyond
the configured size)
2009-03-02 08:26:30 +00:00
Howard Chu
a96538f36c ITS#5860 don't free entryinfo of entries that are validly in the cache 2009-01-26 20:59:10 +00:00
Howard Chu
09a369c4ea More for ITS#5860 2009-01-26 20:36:17 +00:00
Howard Chu
a59bdb2d5d ITS#5860 more for prev commit 2009-01-25 22:43:31 +00:00
Howard Chu
417d105c29 ITS#5860 more ID_NOCACHE fallout 2009-01-24 00:55:44 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
6f39252bd0 Warning cleanup: signed meets unsigned. 2008-10-13 08:35:31 +00:00
Howard Chu
fda5733477 Wait for read locks in read txns 2008-09-25 13:17:17 +00:00
Howard Chu
e5b96f2c76 Avoid deadlocks on reader txns 2008-08-27 22:28:16 +00:00
Howard Chu
ece2a4daa6 Use read-only txn's instead of read lockers. Support BDB 4.4-4.7 2008-08-27 01:45:35 +00:00
Howard Chu
26172674b5 Cleanup extra debug in prev commit 2008-05-01 23:02:52 +00:00
Howard Chu
aeedb72e91 Fix prev commit 2008-05-01 13:25:15 +00:00
Howard Chu
9b516293b9 Fix prev cache.c commit 2008-04-29 21:44:47 +00:00
Howard Chu
a5037b4c5b Fix comment typo 2008-04-28 11:20:34 +00:00