diff options
author | Kefu Chai <tchaikov@gmail.com> | 2018-11-08 19:19:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 19:19:57 +0100 |
commit | 0966f43d98b7d5009b6ffab6abbca3ae88e592e9 (patch) | |
tree | 5f47aca0ad74e2fcfbbb2ab86776fb42657094b4 /src/librados/IoCtxImpl.cc | |
parent | Merge pull request #24719 from Devp00l/wip-issue-26861 (diff) | |
parent | rpm,deb: libradospp1-dev should depend on librados-dev (diff) | |
download | ceph-0966f43d98b7d5009b6ffab6abbca3ae88e592e9.tar.xz ceph-0966f43d98b7d5009b6ffab6abbca3ae88e592e9.zip |
Merge pull request #24896 from tchaikov/wip-librados-cleanup
librados,rpm,deb: various fixes to address librados3 transition and cleanups in librados
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Diffstat (limited to 'src/librados/IoCtxImpl.cc')
-rw-r--r-- | src/librados/IoCtxImpl.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/librados/IoCtxImpl.cc b/src/librados/IoCtxImpl.cc index a3b486b6b5d..9877a545657 100644 --- a/src/librados/IoCtxImpl.cc +++ b/src/librados/IoCtxImpl.cc @@ -1321,30 +1321,6 @@ int librados::IoCtxImpl::tmap_update(const object_t& oid, bufferlist& cmdbl) return operate(oid, &wr, NULL); } -int librados::IoCtxImpl::tmap_put(const object_t& oid, bufferlist& bl) -{ - ::ObjectOperation wr; - prepare_assert_ops(&wr); - wr.tmap_put(bl); - return operate(oid, &wr, NULL); -} - -int librados::IoCtxImpl::tmap_get(const object_t& oid, bufferlist& bl) -{ - ::ObjectOperation rd; - prepare_assert_ops(&rd); - rd.tmap_get(&bl, NULL); - return operate_read(oid, &rd, NULL); -} - -int librados::IoCtxImpl::tmap_to_omap(const object_t& oid, bool nullok) -{ - ::ObjectOperation wr; - prepare_assert_ops(&wr); - wr.tmap_to_omap(nullok); - return operate(oid, &wr, NULL); -} - int librados::IoCtxImpl::exec(const object_t& oid, const char *cls, const char *method, bufferlist& inbl, bufferlist& outbl) |