]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools: clean up cache dir for immutable obj cache
authorYuan Zhou <yuan.zhou@intel.com>
Fri, 22 Feb 2019 03:52:04 +0000 (11:52 +0800)
committerYuan Zhou <yuan.zhou@intel.com>
Thu, 21 Mar 2019 16:16:30 +0000 (00:16 +0800)
commit35a79209a590c10375f4d07b5f1332469e688386
tree8381da84bb186bee757d49f3f9350256b8a38b00
parent83752060b6f4caff53df06e322a4455cce2d3b97
tools: clean up cache dir for immutable obj cache

- user defined full path for cache dir
- hash objects into subfolders with crc32 of its name

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