]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_tools.h
import 15.2.5
[ceph.git] / ceph / src / rgw / rgw_tools.h
index 8c0065465465ea6fea4f450f0d1eb089b683213e..d49f39efa6eb9558fefad0c7f831482931bf4964 100644 (file)
@@ -94,9 +94,10 @@ extern thread_local bool is_asio_thread;
 /// perform the rados operation, using the yield context when given
 int rgw_rados_operate(librados::IoCtx& ioctx, const std::string& oid,
                       librados::ObjectReadOperation *op, bufferlist* pbl,
-                      optional_yield y);
+                      optional_yield y, int flags = 0);
 int rgw_rados_operate(librados::IoCtx& ioctx, const std::string& oid,
-                      librados::ObjectWriteOperation *op, optional_yield y);
+                      librados::ObjectWriteOperation *op, optional_yield y,
+                     int flags = 0);
 int rgw_rados_notify(librados::IoCtx& ioctx, const std::string& oid,
                      bufferlist& bl, uint64_t timeout_ms, bufferlist* pbl,
                      optional_yield y);