]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools: add missing includes 69008/head
authorMax Kellermann <max.kellermann@ionos.com>
Tue, 14 Apr 2026 16:13:59 +0000 (18:13 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 25 Jun 2026 19:42:29 +0000 (21:42 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/tools/ceph-dencoder/denc_registry.h
src/tools/ceph_monstore_tool.cc
src/tools/cephfs/Dumper.cc
src/tools/cephfs/MDSUtility.cc
src/tools/cephfs/Resetter.cc
src/tools/cephfs_mirror/PeerReplayer.h
src/tools/cephfs_mirror/Types.cc
src/tools/cephfs_mirror/Types.h
src/tools/monmaptool.cc
src/tools/rbd_mirror/ImageReplayer.cc

index 6b152a4b23492cfb56fb006baf20267ce947b2a9..1b6496ab3a453a526d8fe6cc9ef8f917e343da0f 100644 (file)
@@ -9,6 +9,7 @@
 #include <string_view>
 
 #include "include/buffer_fwd.h"
+#include "global/global_context.h" // for g_ceph_context
 #include "msg/Message.h"
 
 namespace ceph {
index 31ed80882d3499b5498337998b71ca6e5200fb1c..a84639aedd7347d1ea59819597a97e4c75f59e2f 100644 (file)
@@ -37,6 +37,7 @@
 #include "osd/OSDMap.h"
 #include "crush/CrushCompiler.h"
 #include "mon/CreatingPGs.h"
+#include "mon/mon_types.h" // for CEPH_MON_ONDISK_MAGIC
 
 namespace po = boost::program_options;
 
index cf4dbf2d8768f2f6125b95e7628830912c99d909..ce823050dd03d1f37a17b2b8bc1364afc4b23b2a 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "include/compat.h"
 #include "include/fs_types.h"
+#include "common/Cond.h"
 #include "common/debug.h"
 #include "common/entity_name.h"
 #include "common/errno.h"
index 2790d3e1fab2d5af37fe6a778406e12082a31083..62acb065994e7d40a8f95a46d2eaf8419acfe877 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "MDSUtility.h"
 #include "mon/MonClient.h"
+#include "common/Cond.h"
 #include "common/debug.h"
 
 #define dout_context g_ceph_context
index 3d51dbe8a8ac579a51766eaf2c1eaaabec2ee553..46ea8e86be98ecc5c47b8fd74cc73e366a61c1fd 100644 (file)
@@ -16,6 +16,7 @@
 #include "Resetter.h"
 
 #include <memory>
+#include "common/Cond.h"
 #include "common/debug.h"
 #include "common/errno.h"
 #include "osdc/Journaler.h"
index 7339df9e7bfc6e78c9c6713d7e52ed2eb67d30fa..60cd81239df3661ff90cee6cf7ebe15e981510ad 100644 (file)
 #include "Types.h"
 #include "json_spirit/json_spirit.h"
 
+#include <deque>
+#include <functional>
+#include <map>
+#include <queue>
 #include <set>
 #include <stack>
+#include <string>
+#include <vector>
+
 #include <boost/optional.hpp>
 
 namespace cephfs {
index 651e3632b6e2b06beb6e568632a80f585642610e..ffc8ed0de3814088864cf64226732b3bc6ff6147 100644 (file)
@@ -3,6 +3,8 @@
 
 #include "Types.h"
 
+#include <iostream>
+
 namespace cephfs {
 namespace mirror {
 
index 8c6fda4efa7589eadc9d32ea3e522926af0adc9b..5f51e69cd2fb0b0d257ada2dfc52ec528eaa438c 100644 (file)
@@ -4,8 +4,10 @@
 #ifndef CEPHFS_MIRROR_TYPES_H
 #define CEPHFS_MIRROR_TYPES_H
 
+#include <map>
 #include <set>
-#include <iostream>
+#include <iosfwd>
+#include <string>
 #include <string_view>
 #include <variant>
 
index 8e56b7c4fe73aa0d8aa1191d540a97efb6186b7f..069869bd5c12d74527aeb5da8668d993c54b948c 100644 (file)
@@ -23,6 +23,7 @@
 #include "global/global_init.h"
 #include "include/str_list.h"
 #include "mon/MonMap.h"
+#include "mon/mon_types.h" // for ceph::features::mon::*
 
 using std::cerr;
 using std::cout;
index 9aee9a96b4d8b1395397c20688f0f6dbac0079ee..56a917122022d3ec4fd2e69180508c706b268660 100644 (file)
@@ -4,6 +4,7 @@
 #include "include/compat.h"
 #include "common/Formatter.h"
 #include "common/admin_socket.h"
+#include "common/Cond.h"
 #include "common/debug.h"
 #include "common/errno.h"
 #include "include/stringify.h"