diff options
author | Matt Benjamin <mbenjamin@redhat.com> | 2015-10-26 22:18:06 +0100 |
---|---|---|
committer | Matt Benjamin <mbenjamin@redhat.com> | 2016-02-12 18:05:08 +0100 |
commit | e562357bba913ce07dadaec21a4c177f7633eb00 (patch) | |
tree | a7426a30806995fac5f6841806ccbcacf36ef629 /src/rgw/rgw_lib.h | |
parent | librgw: incremental RGWPutObj work and almost-complete RGWFH refactor. (diff) | |
download | ceph-e562357bba913ce07dadaec21a4c177f7633eb00.tar.xz ceph-e562357bba913ce07dadaec21a4c177f7633eb00.zip |
librgw: reify root handles
Reify root handle, remove traces of legacy (counter) handles.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | src/rgw/rgw_lib.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/rgw/rgw_lib.h b/src/rgw/rgw_lib.h index 6bec854efd8..546d3b395cb 100644 --- a/src/rgw/rgw_lib.h +++ b/src/rgw/rgw_lib.h @@ -24,9 +24,7 @@ class RGWLib { RGWREST rest; // XXX needed for RGWProcessEnv RGWProcessEnv env; RGWRados* store; - ceph::unordered_map<string, uint64_t> allocated_objects_handles; - ceph::unordered_map<uint64_t, string> handles_map; - atomic64_t last_allocated_handle; + public: RGWLib() {} ~RGWLib() {} @@ -38,15 +36,6 @@ public: int init(); int init(vector<const char *>& args); int stop(); - - /* generate dynamic handle currently unique per librgw object */ - uint64_t get_handle(const string& url); - - /* look for a matching handle (by number) */ - int check_handle(uint64_t handle); - - /* return the saved uri corresponding to handle */ - int get_uri(const uint64_t handle, string &uri); }; /* request interface */ |