diff options
author | dormando <dormando@rydia.net> | 2015-01-06 21:28:55 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2015-01-06 21:28:55 -0800 |
commit | e708513abc3d644002d2a4968a5add11928c04db (patch) | |
tree | acb84809fea900cfc4ac6dc2b523271f99100499 /items.h | |
parent | 069629302295f9761c64f836dee237ad14154743 (diff) | |
download | memcached-e708513abc3d644002d2a4968a5add11928c04db.tar.gz |
LRU maintainer thread now fires LRU crawler
... if available. Very simple starter heuristic for how often to run the
crawler.
At this point, this patch series should have a significant impact on hit
ratio.
Diffstat (limited to 'items.h')
-rw-r--r-- | items.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ extern pthread_mutex_t lru_locks[POWER_LARGEST]; void item_stats_evictions(uint64_t *evicted); enum crawler_result_type { - CRAWLER_OK=0, CRAWLER_RUNNING, CRAWLER_BADCLASS + CRAWLER_OK=0, CRAWLER_RUNNING, CRAWLER_BADCLASS, CRAWLER_NOTSTARTED }; int start_lru_maintainer_thread(void); |