diff options
Diffstat (limited to 'src/objclass/class_api.cc')
-rw-r--r-- | src/objclass/class_api.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/objclass/class_api.cc b/src/objclass/class_api.cc index 97a192e5ed7..726193d1bfb 100644 --- a/src/objclass/class_api.cc +++ b/src/objclass/class_api.cc @@ -796,3 +796,9 @@ bool cls_has_chunk(cls_method_context_t hctx, string fp_oid) return false; } + +uint64_t cls_get_osd_min_alloc_size(cls_method_context_t hctx) { + PrimaryLogPG::OpContext *ctx = *(PrimaryLogPG::OpContext **)hctx; + + return ctx->pg->get_min_alloc_size(); +} |