summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_rest.h
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@redhat.com>2022-11-29 18:31:01 +0100
committerDaniel Gryniewicz <dang@redhat.com>2022-12-08 20:13:12 +0100
commit1fac0a75eefa224c691aa9468180448970845cdd (patch)
treed7e30a000c1b618ab29205773106b4108e969a10 /src/rgw/rgw_rest.h
parentMerge pull request #48375 from lbausch/mgr/balancer-fix_end_weekday_being_exc... (diff)
downloadceph-1fac0a75eefa224c691aa9468180448970845cdd.tar.xz
ceph-1fac0a75eefa224c691aa9468180448970845cdd.zip
RGW - Zipper - Rename rgw::sal::Store to rgw::sal::Driver
All along, we've had an overload of the term "store". It was the base class of the entrypoint, and it was the lowest layer in a stack. This renames the base class to Driver. So, the primary elements of zipper that to work are now Drivers, and they come in two different flavors: Filters live in the middle of the stack, and do not need to implement every API, but pass through instead. And Stores live a the bottom of the stack, and must implement the entire API. Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Diffstat (limited to 'src/rgw/rgw_rest.h')
-rw-r--r--src/rgw/rgw_rest.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rgw/rgw_rest.h b/src/rgw/rgw_rest.h
index 0b7defa2f11..3780ed423e4 100644
--- a/src/rgw/rgw_rest.h
+++ b/src/rgw/rgw_rest.h
@@ -122,8 +122,8 @@ protected:
public:
RGWGetObj_ObjStore() : sent_header(false) {}
- void init(rgw::sal::Store* store, req_state *s, RGWHandler *h) override {
- RGWGetObj::init(store, s, h);
+ void init(rgw::sal::Driver* driver, req_state *s, RGWHandler *h) override {
+ RGWGetObj::init(driver, s, h);
sent_header = false;
}
@@ -523,9 +523,9 @@ protected:
RGWRESTFlusher flusher;
public:
- void init(rgw::sal::Store* store, req_state *s,
+ void init(rgw::sal::Driver* driver, req_state *s,
RGWHandler *dialect_handler) override {
- RGWOp::init(store, s, dialect_handler);
+ RGWOp::init(driver, s, dialect_handler);
flusher.init(s, this);
}
void send_response() override;
@@ -616,7 +616,7 @@ public:
}
virtual RGWHandler_REST* get_handler(
- rgw::sal::Store* store,
+ rgw::sal::Driver* driver,
req_state* const s,
const rgw::auth::StrategyRegistry& auth_registry,
const std::string& frontend_prefix
@@ -648,7 +648,7 @@ class RGWREST {
static int preprocess(req_state *s, rgw::io::BasicClient* rio);
public:
RGWREST() {}
- RGWHandler_REST *get_handler(rgw::sal::Store* store,
+ RGWHandler_REST *get_handler(rgw::sal::Driver* driver,
req_state *s,
const rgw::auth::StrategyRegistry& auth_registry,
const std::string& frontend_prefix,
@@ -656,7 +656,7 @@ public:
RGWRESTMgr **pmgr,
int *init_error);
#if 0
- RGWHandler *get_handler(RGWRados *store, req_state *s,
+ RGWHandler *get_handler(RGWRados *driver, req_state *s,
RGWLibIO *io, RGWRESTMgr **pmgr,
int *init_error);
#endif