]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/osd/SnapMapper.h
import ceph quincy 17.2.4
[ceph.git] / ceph / src / osd / SnapMapper.h
index f8c2aff1b20f420826ac6b0e0593fd06f6444bfb..90b0c7c8d82e1b4c5141b8918e275f1ffa4a2e28 100644 (file)
@@ -100,6 +100,7 @@ public:
  * particular snap will group under up to 8 prefixes.
  */
 class SnapMapper {
+  friend class MapperVerifier;
 public:
   CephContext* cct;
   struct object_snaps {
@@ -174,6 +175,10 @@ public:
     void run();
   };
 
+  static std::string convert_legacy_key(
+    const std::string& old_key,
+    const bufferlist& value);
+
   static int convert_legacy(
     CephContext *cct,
     ObjectStore *store,