diff options
author | dormando <dormando@rydia.net> | 2014-04-16 23:13:04 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2014-04-16 23:20:21 -0700 |
commit | 05ca809cc4bda62f0c778be29bfdf565fa39142d (patch) | |
tree | caaa069af4a731988f0d00cee92c804ce307617d /slabs.c | |
parent | d5d4c4909f37b9ec157bb418fa821530dfb66c9f (diff) | |
download | memcached-05ca809cc4bda62f0c778be29bfdf565fa39142d.tar.gz |
Make hash table algorithm selectable
jenkins hash is old. Lets try murmur3 to start! Default is the old one, so
people aren't surprised.
Diffstat (limited to 'slabs.c')
-rw-r--r-- | slabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -520,7 +520,7 @@ static int slab_rebalance_move(void) { status = MOVE_PASS; if (it->slabs_clsid != 255) { void *hold_lock = NULL; - uint32_t hv = hash(ITEM_key(it), it->nkey, 0); + uint32_t hv = hash(ITEM_key(it), it->nkey); if ((hold_lock = item_trylock(hv)) == NULL) { status = MOVE_LOCKED; } else { |