summaryrefslogtreecommitdiffstats
path: root/src/cls/timeindex
diff options
context:
space:
mode:
authorAli Maredia <amaredia@redhat.com>2019-08-29 21:27:43 +0200
committerAli Maredia <amaredia@redhat.com>2019-09-30 21:48:58 +0200
commit582511446bfc81c7958192eec599e6efb8a7579d (patch)
treeef7dc01ae8273028bb7ddc3040d51824e8fdc829 /src/cls/timeindex
parentrgw: overload cls_rgw functions that do io_ctx.operate() (diff)
downloadceph-582511446bfc81c7958192eec599e6efb8a7579d.tar.xz
ceph-582511446bfc81c7958192eec599e6efb8a7579d.zip
rgw: various ioctx.operate refactoring changes
- remove unused #include for cls_client headers - refactor cls_timeindex_trim call in rgw_object_expirer_core.cc - add more CLS_CLIENT_HIDE_IOCTX in header files - move target_compile_definitions to rgw_a target - make repeat cls helper functions static Signed-off-by: Ali Maredia <amaredia@redhat.com>
Diffstat (limited to 'src/cls/timeindex')
-rw-r--r--src/cls/timeindex/cls_timeindex_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cls/timeindex/cls_timeindex_client.h b/src/cls/timeindex/cls_timeindex_client.h
index fc57a1600b7..49fa5ce4afc 100644
--- a/src/cls/timeindex/cls_timeindex_client.h
+++ b/src/cls/timeindex/cls_timeindex_client.h
@@ -83,6 +83,7 @@ void cls_timeindex_trim(
const std::string& from_marker = std::string(),
const std::string& to_marker = std::string());
+#ifndef CLS_CLIENT_HIDE_IOCTX
int cls_timeindex_trim(
librados::IoCtx& io_ctx,
const std::string& oid,
@@ -91,3 +92,5 @@ int cls_timeindex_trim(
const std::string& from_marker = std::string(),
const std::string& to_marker = std::string());
#endif
+
+#endif