summaryrefslogtreecommitdiffstats
path: root/src/rgw/services/svc_user_rados.h
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2019-05-29 01:04:28 +0200
committerCasey Bodley <cbodley@redhat.com>2019-07-29 21:20:47 +0200
commita011d81cd4a313fd6d2b86b2f6b1660bce1c5054 (patch)
tree21f6b8a6c0cecef3adbe8df85afb306ecfd74887 /src/rgw/services/svc_user_rados.h
parentrgw: svc_rados: keep ioctx on the pool (diff)
downloadceph-a011d81cd4a313fd6d2b86b2f6b1660bce1c5054.tar.xz
ceph-a011d81cd4a313fd6d2b86b2f6b1660bce1c5054.zip
rgw: svc: new bucket index service
Currently only specialized and incomplete rados version. Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/services/svc_user_rados.h')
-rw-r--r--src/rgw/services/svc_user_rados.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rgw/services/svc_user_rados.h b/src/rgw/services/svc_user_rados.h
index ad3f7db9854..24e193613a2 100644
--- a/src/rgw/services/svc_user_rados.h
+++ b/src/rgw/services/svc_user_rados.h
@@ -68,10 +68,13 @@ class RGWSI_User_RADOS : public RGWSI_User
int remove_email_index(RGWSI_MetaBackend::Context *ctx, const string& email, optional_yield y);
int remove_swift_name_index(RGWSI_MetaBackend::Context *ctx, const string& swift_name, optional_yield y);
+ /* admin management */
int cls_user_update_buckets(rgw_raw_obj& obj, list<cls_user_bucket_entry>& entries, bool add);
int cls_user_add_bucket(rgw_raw_obj& obj, const cls_user_bucket_entry& entry);
int cls_user_remove_bucket(rgw_raw_obj& obj, const cls_user_bucket& bucket);
+ /* bucket stats */
+
int do_start() override;
public:
struct Svc {