]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools: adding ceph level immutable obj cache daemon
authorYuan Zhou <yuan.zhou@intel.com>
Thu, 13 Dec 2018 21:36:36 +0000 (05:36 +0800)
committerYuan Zhou <yuan.zhou@intel.com>
Thu, 21 Mar 2019 16:16:25 +0000 (00:16 +0800)
commit9a7e5e0866c0ff0d52019d7c4aabc2b7d757ac5d
tree268776bcb14c65dd63ec592af003e6e72e8daead
parent085fdf57fdf3465aa2e56b1c107479e7f59c3524
tools: adding ceph level immutable obj cache daemon

The daemon is built for future integration with both RBD and RGW cache.
The key components are:
- domain socket based simple IPC
- simple LRU policy based promotion/demotion for the cache
- simple file based caching store for RADOS objs with sync IO interface
- systemd service/target files for the daemon

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
29 files changed:
src/common/options.cc
src/common/subsys.h
src/test/CMakeLists.txt
src/test/ceph_immutable_object_cache/CMakeLists.txt [new file with mode: 0644]
src/test/ceph_immutable_object_cache/test_DomainSocket.cc [new file with mode: 0644]
src/test/ceph_immutable_object_cache/test_SimplePolicy.cc [new file with mode: 0644]
src/test/ceph_immutable_object_cache/test_main.cc [new file with mode: 0644]
src/test/ceph_immutable_object_cache/test_sync_file.cc [new file with mode: 0644]
src/tools/CMakeLists.txt
src/tools/ceph_immutable_object_cache/CMakeLists.txt [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/CacheClient.cc [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/CacheClient.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/CacheController.cc [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/CacheController.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/CacheServer.cc [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/CacheServer.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/CacheSession.cc [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/CacheSession.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/ObjectCacheFile.cc [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/ObjectCacheFile.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/ObjectCacheStore.cc [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/ObjectCacheStore.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/Policy.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/SimplePolicy.cc [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/SimplePolicy.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/SocketCommon.h [new file with mode: 0644]
src/tools/ceph_immutable_object_cache/main.cc [new file with mode: 0644]
systemd/ceph-immutable-object-cache.target [new file with mode: 0644]
systemd/ceph-immutable-object-cache@.service.in [new file with mode: 0644]