summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2015-01-06 21:28:55 -0800
committerdormando <dormando@rydia.net>2015-01-06 21:28:55 -0800
commite708513abc3d644002d2a4968a5add11928c04db (patch)
treeacb84809fea900cfc4ac6dc2b523271f99100499 /items.h
parent069629302295f9761c64f836dee237ad14154743 (diff)
downloadmemcached-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/items.h b/items.h
index 6ec7819..7497d0d 100644
--- a/items.h
+++ b/items.h
@@ -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);