]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
shared_cache: add purge and tests
authorSamuel Just <sam.just@inktank.com>
Wed, 22 Oct 2014 19:41:25 +0000 (12:41 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 22 Oct 2014 19:41:25 +0000 (12:41 -0700)
commit3abbd4c3167440fae836a9bd2eeeeac63918a0f5
treedf8080793cbe0f997c7e6c24f8e05cb1ade097d0
parentc116b4b55ab23bef00489db9fbff9fae6ba4bba7
shared_cache: add purge and tests

purge detaches the lru shared_ptr currently associated from
the key from the lru even if there are still references.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/common/shared_cache.hpp
src/test/Makefile.am
src/test/common/test_shared_cache.cc [new file with mode: 0644]