]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools: remove RBD specific logic in immutable obj cache
authorYuan Zhou <yuan.zhou@intel.com>
Fri, 21 Dec 2018 02:41:32 +0000 (10:41 +0800)
committerYuan Zhou <yuan.zhou@intel.com>
Thu, 21 Mar 2019 16:16:26 +0000 (00:16 +0800)
commitc82f469824bc82eee7c7aae92149e20c767c439a
tree4d8793744f1dad82849da4a3501f3818b89dbf7b
parentb3b915737c27cc487f13e240abcbb0048cd119da
tools: remove RBD specific logic in immutable obj cache

Make the daemon more generic(pool name + object id) so it
can service both RBD and RGW.
Also supports caching partial object(even empty), the caller
needs to append_zero to read buffer if read on those objects.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
src/test/immutable_object_cache/test_DomainSocket.cc
src/tools/immutable_object_cache/CacheClient.cc
src/tools/immutable_object_cache/CacheClient.h
src/tools/immutable_object_cache/CacheController.cc
src/tools/immutable_object_cache/ObjectCacheStore.cc
src/tools/immutable_object_cache/ObjectCacheStore.h