summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_lc.h
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@redhat.com>2021-03-09 15:16:48 +0100
committerDaniel Gryniewicz <dang@redhat.com>2021-04-15 19:28:10 +0200
commitfd0cca079c488f242e10ff2514a3588f288b3773 (patch)
tree9abe7c406c2af7d01229f6f7c13933b791963e48 /src/rgw/rgw_lc.h
parentMerge pull request #40873 from tchaikov/wip-50374 (diff)
downloadceph-fd0cca079c488f242e10ff2514a3588f288b3773.tar.xz
ceph-fd0cca079c488f242e10ff2514a3588f288b3773.zip
RGW Zipper - The Great Rename
Rename RGWFoo to Foo. It's all in the rgw::sal namespace anyway, so the RGW is redundant. Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Diffstat (limited to 'src/rgw/rgw_lc.h')
-rw-r--r--src/rgw/rgw_lc.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/rgw/rgw_lc.h b/src/rgw/rgw_lc.h
index 847777e1f2c..d7abb3ba892 100644
--- a/src/rgw/rgw_lc.h
+++ b/src/rgw/rgw_lc.h
@@ -461,7 +461,7 @@ WRITE_CLASS_ENCODER(RGWLifecycleConfiguration)
class RGWLC : public DoutPrefixProvider {
CephContext *cct;
- rgw::sal::RGWStore *store;
+ rgw::sal::Store *store;
std::unique_ptr<rgw::sal::Lifecycle> sal_lc;
int max_objs{0};
string *obj_names{nullptr};
@@ -508,7 +508,7 @@ public:
RGWLC() : cct(nullptr), store(nullptr) {}
~RGWLC();
- void initialize(CephContext *_cct, rgw::sal::RGWStore *_store);
+ void initialize(CephContext *_cct, rgw::sal::Store *_store);
void finalize();
int process(LCWorker* worker, bool once);
@@ -526,11 +526,11 @@ public:
bool going_down();
void start_processor();
void stop_processor();
- int set_bucket_config(rgw::sal::RGWBucket* bucket,
- const rgw::sal::RGWAttrs& bucket_attrs,
+ int set_bucket_config(rgw::sal::Bucket* bucket,
+ const rgw::sal::Attrs& bucket_attrs,
RGWLifecycleConfiguration *config);
- int remove_bucket_config(rgw::sal::RGWBucket* bucket,
- const rgw::sal::RGWAttrs& bucket_attrs);
+ int remove_bucket_config(rgw::sal::Bucket* bucket,
+ const rgw::sal::Attrs& bucket_attrs);
CephContext *get_cct() const override { return cct; }
rgw::sal::Lifecycle *get_lc() const { return sal_lc.get(); }
@@ -539,16 +539,16 @@ public:
private:
- int handle_multipart_expiration(rgw::sal::RGWBucket* target,
+ int handle_multipart_expiration(rgw::sal::Bucket* target,
const multimap<string, lc_op>& prefix_map,
LCWorker* worker, time_t stop_at, bool once);
};
namespace rgw::lc {
-int fix_lc_shard_entry(rgw::sal::RGWStore *store,
+int fix_lc_shard_entry(rgw::sal::Store *store,
rgw::sal::Lifecycle* sal_lc,
- rgw::sal::RGWBucket* bucket);
+ rgw::sal::Bucket* bucket);
std::string s3_expiration_header(
DoutPrefixProvider* dpp,