]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/PGMap.h
update sources to v12.2.1
[ceph.git] / ceph / src / mon / PGMap.h
index 3432f796633cf07c25e91a434c8a5a4d6b1ee705..257a9c75aaf839c1d3488553b52d682c0f4834e9 100644 (file)
@@ -188,6 +188,15 @@ public:
       return 0;
   }
 
+  // kill me post-mimic or -nautilus
+  bool definitely_converted_snapsets() const {
+    // false negative is okay; false positive is not!
+    return
+      num_pg &&
+      num_pg_unknown == 0 &&
+      pg_sum.stats.sum.num_legacy_snapsets == 0;
+  }
+
   // kill me post-luminous:
   virtual float get_fallback_full_ratio() const {
     return .95;