]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: introduce new context type at RO
authorshangdehao1 <dehao.shang@intel.com>
Thu, 18 Apr 2019 22:29:58 +0000 (06:29 +0800)
committerJason Dillaman <dillaman@redhat.com>
Mon, 24 Jun 2019 21:35:40 +0000 (17:35 -0400)
commit5bc5b5dff2ec4059df9345e65883ca69eb8392a8
treedfee664a6a238e6ae2c7981d60d35bcfbcef1541
parent24d4bcd165e977f17d82acb0154757f3fa4a4378
librbd: introduce new context type at RO

 - CacheGenContextURef is wrapper GenContextURef
 - use make_gen_lambda_context to create context.
 - smart pointer unique_ptr to auto release object.

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
src/librbd/cache/SharedReadOnlyObjectDispatch.cc
src/test/immutable_object_cache/MockCacheDaemon.h
src/test/immutable_object_cache/test_DomainSocket.cc
src/test/immutable_object_cache/test_multi_session.cc
src/test/librbd/cache/test_mock_ParentImageCache.cc
src/tools/immutable_object_cache/CacheClient.cc
src/tools/immutable_object_cache/CacheClient.h
src/tools/immutable_object_cache/SocketCommon.h
src/tools/immutable_object_cache/Types.h