]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: add a cache layer over MonitorDBStore 5696/head 5697/head
authorKefu Chai <kchai@redhat.com>
Mon, 10 Aug 2015 11:25:03 +0000 (04:25 -0700)
committerKefu Chai <kchai@redhat.com>
Fri, 28 Aug 2015 06:00:08 +0000 (14:00 +0800)
commit0bc909e54b0edd8a32a3e7db16877f1d875c3186
tree968c052524d7447d0fa2ed8f66c429318cee44dd
parent41a245aff77dde8a2ab212f9c91a73a23a77c40d
mon: add a cache layer over MonitorDBStore

the cache of of leveldb does not perform well under some condition,
so we need a cache in our own stack.

* add an option "mon_osd_cache_size" to control the size of cache size
  of MonitorDBStore.

Fixes: #12638
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 5e99a578050976ca22b549812ac80d494fe7041d)

Conflicts:
src/mon/OSDMonitor.h
minor differences in OSDMonitor ctor
src/common/config_opts.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/mon/PaxosService.h