Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
}
}
+#ifdef WITH_BLUESTORE
+
int StoreTool::load_bluestore(const string& path, bool read_only, bool to_repair)
{
auto bluestore = new BlueStore(g_ceph_context, path);
return 0;
}
+#endif // WITH_BLUESTORE
+
uint32_t StoreTool::traverse(const string& prefix,
const bool do_crc,
const bool do_value_dump,
int print_stats() const;
int build_size_histogram(const std::string& prefix) const;
+#ifdef WITH_BLUESTORE
private:
int load_bluestore(const std::string& path, bool read_only, bool need_open_db);
+#endif // WITH_BLUESTORE
};