]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/include/rados/librados.hpp
update sources to v12.1.0
[ceph.git] / ceph / src / include / rados / librados.hpp
index 10e8f203067a42fa00263eb84b961d359571f935..e4eb2d2506c126848ad827c30535a2874493cb26 100644 (file)
@@ -267,6 +267,7 @@ namespace librados
     OPERATION_FULL_TRY           = LIBRADOS_OPERATION_FULL_TRY,
     //mainly for delete
     OPERATION_FULL_FORCE        = LIBRADOS_OPERATION_FULL_FORCE,
+    OPERATION_IGNORE_REDIRECT   = LIBRADOS_OPERATION_IGNORE_REDIRECT,
   };
 
   /*
@@ -463,6 +464,14 @@ namespace librados
     void cache_pin();
     void cache_unpin();
 
+    /**
+     * Extensible tier
+     *
+     * Set redirect target
+     */
+    void set_redirect(const std::string& tgt_obj, const IoCtx& tgt_ioctx,
+                     uint64_t tgt_version);
+
     friend class IoCtx;
   };