diff options
author | myoungwon oh <ohmyoungwon@gmail.com> | 2021-01-08 07:17:16 +0100 |
---|---|---|
committer | myoungwon oh <ohmyoungwon@gmail.com> | 2021-01-21 07:12:46 +0100 |
commit | cb7cf5ba545386e1bf010d655f0736d0ef5a29ae (patch) | |
tree | d75d99c64e8a6dc0a9a56ad5be084b468af1a8c8 /src/objclass | |
parent | test: add cls_has_chunk test to count chunk in snapshot (diff) | |
download | ceph-cb7cf5ba545386e1bf010d655f0736d0ef5a29ae.tar.xz ceph-cb7cf5ba545386e1bf010d655f0736d0ef5a29ae.zip |
osd, test: return the number of references of chunked object
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Diffstat (limited to 'src/objclass')
-rw-r--r-- | src/objclass/objclass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objclass/objclass.h b/src/objclass/objclass.h index b16e9e01a74..403f3543291 100644 --- a/src/objclass/objclass.h +++ b/src/objclass/objclass.h @@ -157,7 +157,7 @@ extern int cls_get_snapset_seq(cls_method_context_t hctx, uint64_t *snap_seq); int cls_cxx_chunk_write_and_set(cls_method_context_t hctx, int ofs, int len, ceph::buffer::list *write_inbl, uint32_t op_flags, ceph::buffer::list *set_inbl, int set_len); -bool cls_has_chunk(cls_method_context_t hctx, std::string fp_oid); +int cls_get_manifest_ref_count(cls_method_context_t hctx, std::string fp_oid); extern uint64_t cls_get_osd_min_alloc_size(cls_method_context_t hctx); extern uint64_t cls_get_pool_stripe_width(cls_method_context_t hctx); |