]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cls_cas: dynamically adjust resolution of chunk_obj_refcount
authorSage Weil <sage@newdream.net>
Wed, 20 May 2020 19:26:50 +0000 (14:26 -0500)
committerSage Weil <sage@newdream.net>
Wed, 27 May 2020 15:44:31 +0000 (10:44 -0500)
commitc263117c516925048c262fa5d1cb3dd9de022e1f
treed58c4e9cebfe829cf3385171cd30fccc0edb2e48
parentcc9d83efaef5bf788197fbf35cd77372e57ead97
cls_cas: dynamically adjust resolution of chunk_obj_refcount

Most objects will have few refs, but some will have many.  Retain as much
information about references as we can for both cases, without exploding
the size of encoded refs.

Signed-off-by: Sage Weil <sage@newdream.net>
src/cls/cas/cls_cas.cc
src/cls/cas/cls_cas_internal.h
src/test/cls_cas/test_cls_cas.cc
src/test/librados/tier_cxx.cc