]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Tue, 12 Aug 2025 19:06:17 +0000 (21:06 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 28 Aug 2025 09:21:05 +0000 (11:21 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/mgr/ActivePyModules.cc
src/mgr/ActivePyModules.h
src/mgr/DaemonServer.cc
src/mgr/DaemonState.cc
src/mgr/DaemonState.h
src/mgr/MDSPerfMetricTypes.h
src/mgr/MetricTypes.h
src/mgr/Mgr.cc
src/mgr/OSDPerfMetricTypes.h
src/mgr/Types.h

index 5d2a751538ec7981bb3c348c735ff4965fac6ee5..b770d24bf943e0ccd77ea65bd84160f42529e87b 100644 (file)
@@ -22,6 +22,7 @@
 #include "common/perf_counters_key.h"
 #include "crush/CrushWrapper.h"
 #include "include/stringify.h"
+#include "json_spirit/json_spirit_writer.h"
 
 #include "mon/MonMap.h"
 #include "osd/OSDMap.h"
@@ -29,6 +30,7 @@
 #include "mgr/MgrContext.h"
 #include "mgr/TTLCache.h"
 #include "mgr/mgr_perf_counters.h"
+#include "messages/MMgrReport.h" // for class PerfCounterType
 
 #include "DaemonKey.h"
 #include "DaemonServer.h"
index 31ebb0c71e637681aee39230158d47a7d86bdc61..17e32f05d41574192a30a71d6fa0c9bc58cf7c6b 100644 (file)
@@ -26,6 +26,7 @@
 #include "mon/MonCommand.h"
 #include "mon/mon_types.h"
 #include "mon/ConfigMap.h"
+#include "mgr/MDSPerfMetricTypes.h"
 #include "mgr/TTLCache.h"
 
 #include "DaemonState.h"
@@ -33,6 +34,7 @@
 #include "OSDPerfMetricTypes.h"
 
 #include <map>
+#include <optional>
 #include <set>
 #include <string>
 
index d456b16c4e702c40c09372ecd6d1a8e7356eab4e..a967658e2f41034c4c59ff34aa6ae210dc795c12 100644 (file)
@@ -39,6 +39,7 @@
 #include "messages/MCommandReply.h"
 #include "messages/MMgrCommand.h"
 #include "messages/MMgrCommandReply.h"
+#include "messages/MMgrReport.h"
 #include "messages/MPGStats.h"
 #include "messages/MOSDScrub2.h"
 #include "messages/MOSDForceRecovery.h"
index 84970c749d111ae72469daea3d1294fdf72de92a..1c412bc2f520aad75f571d122c21ca1da4326f00 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "MgrSession.h"
 #include "include/stringify.h"
+#include "include/str_map.h"
 #include "common/Clock.h" // for ceph_clock_now()
 #include "common/debug.h"
 #include "common/Formatter.h"
index d78e819405b02c1372356fdc4c36e02a44a314e9..34981025f3a81088dd9f6f446b07cb747bd94314 100644 (file)
 #include <set>
 #include <boost/circular_buffer.hpp>
 
+#include "common/ceph_mutex.h"
+#include "common/perf_counters.h" // for enum perfcounter_type_d
+#include "common/RefCountedObj.h"
 #include "include/str_map.h"
+#include "include/utime.h"
 
 #include "msg/msg_types.h"
 
 // For PerfCounterType
 #include "messages/MMgrReport.h"
+#include "DaemonHealthMetric.h"
 #include "DaemonKey.h"
 
 namespace ceph {
index e11b9f4480b24e323ae27307d19517a1703eafc0..28d901bb970a7f5967e6e6fb029ad4e5a2a0ac34 100644 (file)
@@ -8,8 +8,10 @@
 #include <vector>
 #include <iosfwd>
 
+#include "include/cephfs/types.h" // for mds_rank_t
 #include "include/denc.h"
 #include "include/stringify.h"
+#include "include/utime.h"
 #include "common/Formatter.h"
 
 #include "mds/mdstypes.h"
index ec317db7759ade86aa51af8a319dcd7c790f0eea..590cc0e55a8d756ce3c375c6d31d59ad17485540 100644 (file)
@@ -4,6 +4,7 @@
 #ifndef CEPH_MGR_METRIC_TYPES_H
 #define CEPH_MGR_METRIC_TYPES_H
 
+#include <boost/variant/static_visitor.hpp>
 #include <variant>
 #include "include/denc.h"
 #include "include/ceph_features.h"
index 418e8ae984aee0c5fe3d402d7dee0645adb7e760..0225527c5eda31790a4170976bdceaa851d31a2f 100644 (file)
@@ -17,6 +17,7 @@
 #include "common/errno.h"
 #include "mon/MonClient.h"
 #include "include/stringify.h"
+#include "include/str_map.h"
 #include "global/global_context.h"
 #include "global/signal_handler.h"
 
index 6345c88917798b5a5fb80c867b0f52a12b3b5e2f..1427ff1e30467170f7e656c8a5f4dca8462b0a76 100644 (file)
 
 #include "mgr/Types.h"
 
+#include <iosfwd>
+#include <list>
+#include <map>
 #include <regex>
+#include <set>
+#include <string>
+#include <vector>
 
 typedef std::vector<std::string> OSDPerfMetricSubKey; // array of regex match
 typedef std::vector<OSDPerfMetricSubKey> OSDPerfMetricKey;
index ab90bbbe9acc4ed9c5773895464a94e4c6911791..5ff3201ee9f2772035e3e7b9f6021ad46121c467 100644 (file)
@@ -4,6 +4,8 @@
 #ifndef CEPH_MGR_TYPES_H
 #define CEPH_MGR_TYPES_H
 
+#include <vector>
+
 typedef int MetricQueryID;
 
 typedef std::pair<uint64_t,uint64_t> PerformanceCounter;