summaryrefslogtreecommitdiff
path: root/src/rgw/rgw_rados.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_rados.h')
-rw-r--r--src/rgw/rgw_rados.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rgw/rgw_rados.h b/src/rgw/rgw_rados.h
index e2ab4e24499..4e9e4752c57 100644
--- a/src/rgw/rgw_rados.h
+++ b/src/rgw/rgw_rados.h
@@ -365,7 +365,7 @@ class RGWRados
int complete_atomic_overwrite(RGWRadosCtx *rctx, RGWObjState *state, rgw_obj& obj);
int update_placement_map();
- int select_bucket_placement(std::string& bucket_name, rgw_bucket& bucket);
+ int select_bucket_placement(std::string& bucket_name, rgw_bucket& bucket, const string& preferred_placement);
int store_bucket_info(RGWBucketInfo& info, map<string, bufferlist> *pattrs, bool exclusive);
protected:
@@ -455,6 +455,7 @@ public:
*/
virtual int create_bucket(string& owner, rgw_bucket& bucket,
map<std::string,bufferlist>& attrs,
+ const string& preferred_placement,
bool exclusive = true);
virtual int add_bucket_placement(std::string& new_pool);
virtual int remove_bucket_placement(std::string& new_pool);