]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/kvstore_tool.h
import 14.2.4 nautilus point release
[ceph.git] / ceph / src / tools / kvstore_tool.h
index 3203024728e9836ae57fa06e9df5703080a392c9..d8c8966130aac69703e386ffd4eca76b022af4da 100644 (file)
@@ -43,7 +43,8 @@ class StoreTool
 public:
   StoreTool(const std::string& type,
            const std::string& path,
-           bool need_open_db=true);
+           bool need_open_db = true,
+           bool need_stats = false);
   int load_bluestore(const std::string& path, bool need_open_db);
   uint32_t traverse(const std::string& prefix,
                     const bool do_crc,
@@ -74,4 +75,6 @@ public:
                     const std::string& start,
                     const std::string& end);
   int destructive_repair();
+
+  int print_stats() const;
 };