]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kv/RocksDBStore: make rocksdb_cache_type tunable (lru or clock)
authorSage Weil <sage@redhat.com>
Thu, 8 Jun 2017 16:07:14 +0000 (12:07 -0400)
committerSage Weil <sage@redhat.com>
Fri, 9 Jun 2017 13:30:42 +0000 (09:30 -0400)
commitc7464183ea2bd3969a56c9511c8fc15e3cf5ba92
tree40f54664e66affbae7d67d1b2f5e2df069dd9c83
parent2076175e0d68e1298f8ba28c60ccd74bb2945018
kv/RocksDBStore: make rocksdb_cache_type tunable (lru or clock)

"[Clock is] Similar to NewLRUCache, but create a cache based on CLOCK
algorithm with better concurrent performance in some cases. See
[cache]/clock_cache.cc for more detail."

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/kv/RocksDBStore.cc