Howard Chu
|
a0fbe9f043
|
Minor cleanup
|
2007-11-21 14:55:40 +00:00 |
|
Howard Chu
|
a6c4cf8578
|
ITS#5221 fix NO_KIDS/NO_GRANDKIDS flags on rename ops
|
2007-11-21 14:51:55 +00:00 |
|
Howard Chu
|
7aeb9bf621
|
Fix unlock in prev commit
|
2007-11-12 11:41:45 +00:00 |
|
Howard Chu
|
b4bcc325ee
|
Cache-thrashing protection: if the DB has more entries than the cache,
don't allow large search operations that touch more entries churn the
existing cached entries.
|
2007-11-12 11:16:30 +00:00 |
|
Howard Chu
|
8367f0cfe4
|
revert prev commit, no gain
|
2007-08-26 14:37:12 +00:00 |
|
Howard Chu
|
ddc5c9f735
|
Just use read locks on the entry_db_lock
|
2007-08-26 13:49:35 +00:00 |
|
Pierangelo Masarati
|
071b77cf9d
|
better fix
|
2007-08-25 15:01:27 +00:00 |
|
Pierangelo Masarati
|
84143631ee
|
fix potential concurrency issue (not so potential, if we could regularly trigger it :)
|
2007-08-25 14:58:43 +00:00 |
|
Howard Chu
|
4c7d288eb7
|
More for BDB 4.6 compatibility
|
2007-08-17 20:33:46 +00:00 |
|
Howard Chu
|
8b27523e4c
|
Add config keyword for DN cache size (aka EntryInfoSize)
default is 2x entry cache size
|
2007-08-11 19:29:14 +00:00 |
|
Hallvard Furuseth
|
8e5beab1e8
|
printf %p expects void*
|
2007-04-04 17:49:31 +00:00 |
|
Howard Chu
|
fb583c3071
|
Revert prev commit
|
2007-02-08 10:29:40 +00:00 |
|
Howard Chu
|
57c5bbf7e4
|
Just use a readlock in cache loader
|
2007-02-08 09:27:35 +00:00 |
|
Howard Chu
|
ea8a2894c4
|
Free main-thread keys in db_close, can't do it later because the env
will be gone.
|
2007-01-25 12:00:40 +00:00 |
|
Howard Chu
|
5d4c8f86bf
|
Fix prev commit
|
2007-01-17 10:02:53 +00:00 |
|
Howard Chu
|
ecb06964c5
|
Cleanup prev commit
|
2007-01-17 02:46:41 +00:00 |
|
Howard Chu
|
9898983d58
|
Minor tweaks, put dup EntryInfo's on free list instead of destroying them
|
2007-01-17 02:43:05 +00:00 |
|
Howard Chu
|
b941856404
|
Set upper bound on EntryInfos, fixed at 4x Entry cachesize.
Probably should be tunable. Probably should add hit/miss counters
to monitor to assist in tuning...
|
2007-01-12 07:35:34 +00:00 |
|
Howard Chu
|
813cca89a6
|
ITS#4797
|
2007-01-08 19:10:23 +00:00 |
|
Howard Chu
|
2082b1f9f0
|
Avoid calling purge too often
|
2007-01-05 06:49:25 +00:00 |
|
Howard Chu
|
001ce8e493
|
Partially revert prev commit, fix lru_purge loop
|
2007-01-04 11:01:59 +00:00 |
|
Howard Chu
|
e48f72c1b5
|
Unify use of BDB lockers
|
2007-01-04 08:36:59 +00:00 |
|
Kurt Zeilenga
|
da6d9eb046
|
happy new year
|
2007-01-02 20:00:42 +00:00 |
|
Howard Chu
|
822888eafc
|
Bypass a few redundant locks
|
2007-01-01 11:44:39 +00:00 |
|
Howard Chu
|
6074f48fa7
|
Tweak cache_lru_print
|
2007-01-01 11:17:13 +00:00 |
|
Howard Chu
|
a5546a22a8
|
Fix prev commit, hdb_cache_find_parent
|
2007-01-01 07:09:22 +00:00 |
|
Howard Chu
|
cd35516bdc
|
Fix typo in prev commit
|
2007-01-01 02:16:25 +00:00 |
|
Howard Chu
|
37dfbd3e8b
|
Fix prev commit
|
2007-01-01 01:07:57 +00:00 |
|
Howard Chu
|
d7fa1e764d
|
partial revert - keep acquiring BDB lock in lru_purge.
|
2007-01-01 01:00:19 +00:00 |
|
Howard Chu
|
b8309b4cf8
|
Cleanup db_lock/unlock parameters
|
2006-12-31 23:37:06 +00:00 |
|
Howard Chu
|
a720011c8a
|
Ditch LRU cache replacement in favor of 2nd-chance/clock.
Much better concurrency.
|
2006-12-31 16:16:48 +00:00 |
|
Howard Chu
|
e844a6956d
|
In bdb_cache_add use a readlock outside the txn to protect the entry
until send_ldap_result completes.
|
2006-12-30 12:05:55 +00:00 |
|
Howard Chu
|
eb47d50da7
|
Tweak bei_state so cache_lru_add doesn't ever try to free just-added
entries. This allows us to use the frontend's entry directly instead
of having to entry_dup it before adding to the cache.
|
2006-12-01 14:48:38 +00:00 |
|
Howard Chu
|
bd95f8ab1c
|
ITS#4738 provisional fix, still needs confirmation
|
2006-11-13 00:24:59 +00:00 |
|
Quanah Gibson-Mount
|
88ce76f24e
|
fix e_private value, goes along with memory leak fix to accesslog.c
|
2006-08-26 23:20:00 +00:00 |
|
Howard Chu
|
2a2115d70c
|
Fix prev commit, update kid counters too
|
2006-07-19 00:06:57 +00:00 |
|
Howard Chu
|
0340a1f1bf
|
ITS#4616 fix cache_modrdn bei_state management
|
2006-07-18 10:22:48 +00:00 |
|
Howard Chu
|
bab03f6d5c
|
Additional purge changes for rev 1.120, don't keep the current thread
busy unnecessarily
|
2006-07-12 01:55:21 +00:00 |
|
Howard Chu
|
70512edd5a
|
ITS#4572 don't unlock non-existent locks
|
2006-06-01 02:03:10 +00:00 |
|
Howard Chu
|
c76eb501ab
|
Revert cache-purge task, go back to purging inline
|
2006-04-05 07:17:11 +00:00 |
|
Howard Chu
|
c002351982
|
cleanup
|
2006-03-31 22:24:39 +00:00 |
|
Howard Chu
|
9eca89acc8
|
Improve prev commit
|
2006-02-09 07:02:40 +00:00 |
|
Howard Chu
|
6344d36df0
|
Same as ITS#4385, must wake listener after submitting job to runqueue
|
2006-02-09 06:53:49 +00:00 |
|
Pierangelo Masarati
|
697df7cc06
|
silence warning
|
2006-01-07 11:06:32 +00:00 |
|
Howard Chu
|
a614a1c16e
|
Cleanup task declarations
|
2006-01-06 04:06:18 +00:00 |
|
Howard Chu
|
e82ce6444c
|
ITS#4308 fix cache flush task interval
|
2006-01-06 03:51:56 +00:00 |
|
Kurt Zeilenga
|
acbb5cf689
|
Happy new year!
|
2006-01-03 23:11:52 +00:00 |
|
Pierangelo Masarati
|
9c7aca5b47
|
fix indentation
|
2006-01-02 08:18:29 +00:00 |
|
Howard Chu
|
553b2884ab
|
cache LRU concurrency improvements, reorder DB accesses for consistency
|
2005-12-09 00:20:18 +00:00 |
|
Howard Chu
|
3e062a3f35
|
ITS#4254 fix lock ordering
|
2005-12-08 23:45:47 +00:00 |
|