]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
messages/*: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Mon, 9 Dec 2024 21:34:43 +0000 (22:34 +0100)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 28 Aug 2025 09:21:06 +0000 (11:21 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
22 files changed:
src/messages/MClientRequest.h
src/messages/MCommand.h
src/messages/MCommandReply.h
src/messages/MMDSBeacon.h
src/messages/MMDSLoadTargets.h
src/messages/MMDSOpenIno.h
src/messages/MMDSOpenInoReply.h
src/messages/MMgrCommand.h
src/messages/MMgrCommandReply.h
src/messages/MMonCommandAck.h
src/messages/MMonUsedPendingKeys.h
src/messages/MOSDFastDispatchOp.h
src/messages/MOSDOp.h
src/messages/MOSDOpReply.h
src/messages/MPGStats.h
src/messages/MPGStatsAck.h
src/messages/MPing.h
src/messages/MStatfs.h
src/messages/MTimeCheck.h
src/messages/MTimeCheck2.h
src/messages/MWatchNotify.h
src/messages/PaxosServiceMessage.h

index a1e4bd48caccb1f220573e4648418b66198cdb01..5ffba52b569838b01596dbf723f39503494f4184 100644 (file)
  *  
  */
 
+#include <list>
+#include <map>
+#include <ostream>
+#include <string>
 #include <string_view>
+#include <vector>
 
 #include "include/filepath.h"
 #include "mds/mdstypes.h"
+#include "common/Formatter.h"
 #include "include/ceph_features.h"
 #include "mds/cephfs_features.h"
 #include "messages/MMDSOp.h"
index cd912cd2853a897977e2d74b55379a8b1eb98365..d1d8967fc957930a945169814d24e5dcb5d861c7 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef CEPH_MCOMMAND_H
 #define CEPH_MCOMMAND_H
 
+#include <string>
 #include <vector>
 
 #include "msg/Message.h"
index 1a07b5bf15088602a2e4a9ae7c4b78b83ef41ccb..debc0e85251bc0fb3721e52cc2e9f528e2ccd2d6 100644 (file)
 #ifndef CEPH_MCOMMANDREPLY_H
 #define CEPH_MCOMMANDREPLY_H
 
+#include <string>
 #include <string_view>
 
+#include "include/types.h" // for errorcode32_t
 #include "msg/Message.h"
 #include "MCommand.h"
 
index b3b982575d3e2a22bbe3875bd12fb0f0a7b15e76..0e79d2c5868082916194e001ec04fe854cf97a24 100644 (file)
 #ifndef CEPH_MMDSBEACON_H
 #define CEPH_MMDSBEACON_H
 
+#include <map>
+#include <string>
 #include <string_view>
+#include <vector>
 
 #include "msg/Message.h"
 #include "messages/PaxosServiceMessage.h"
index ebd96bff1c62d366a02e57ca0d29afdaf352c9dd..d63ac46da9423569851f8db48ba5860d1a7b9d0e 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef CEPH_MMDSLoadTargets_H
 #define CEPH_MMDSLoadTargets_H
 
+#include <set>
+
 #include "msg/Message.h"
 #include "mds/mdstypes.h"
 #include "messages/PaxosServiceMessage.h"
index f733255358fc14e95ae641b5282006b80ea9112e..a7f63774d9d7143ce37afb5bc9ef7b5be1e2bd50 100644 (file)
@@ -15,6 +15,9 @@
 #ifndef CEPH_MDSOPENINO_H
 #define CEPH_MDSOPENINO_H
 
+#include <ostream>
+#include <vector>
+
 #include "messages/MMDSOp.h"
 #include "mds/inode_backtrace.h" // for inode_backpointer_t
 
index 25a2ea27956cebaab2a1a3efa6a1d09d8934d4bb..aa84c2d294cd568c9af23f90daa971b3836cede8 100644 (file)
@@ -15,6 +15,9 @@
 #ifndef CEPH_MDSOPENINOREPLY_H
 #define CEPH_MDSOPENINOREPLY_H
 
+#include <ostream>
+#include <vector>
+
 #include "messages/MMDSOp.h"
 
 class MMDSOpenInoReply final : public MMDSOp {
index 83ee618c5085d0672a0aef14fbe1fcdfa9aa76de..24b838598eff50aa78aa15222baff1e75c926eb7 100644 (file)
@@ -3,6 +3,8 @@
 
 #pragma once
 
+#include <ostream>
+#include <string>
 #include <vector>
 
 #include "msg/Message.h"
index 40b8fd34d7794cd28bb85767c251aecc8e2983c6..efe56c4e04bff614f7e7c26aed237f732edf8ac2 100644 (file)
@@ -3,6 +3,8 @@
 
 #pragma once
 
+#include <ostream>
+#include <string>
 #include <string_view>
 
 #include "msg/Message.h"
index ec1b4273668fc1bf4f4a5d6f13612fd637851723..5a0d87cc7f170056f26a18ac2bf3ced6eb490141 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <sstream>
 #include <string>
+#include <vector>
 
 using ceph::common::cmdmap_from_json;
 using ceph::common::cmd_getval;
index 482330a49189e5946d2bb843df1b4409a453903a..283edf4243268a1784fe57d2b0089f8736e1216a 100644 (file)
 
 #pragma once
 
+#include <map>
+
+#include <boost/intrusive_ptr.hpp>
+
+#include "auth/Crypto.h" // for CryptoKey
 #include "messages/PaxosServiceMessage.h"
 
 class MMonUsedPendingKeys final : public PaxosServiceMessage {
index d1103fb8810f764e1bbd954c45f0853910eabcc4..c0547b365c695ff1ebeecd183373a97f57dedc71 100644 (file)
@@ -4,8 +4,9 @@
 #ifndef CEPH_MOSDFASTDISPATCHOP_H
 #define CEPH_MOSDFASTDISPATCHOP_H
 
+#include "include/types.h" // for epoch_t
 #include "msg/Message.h"
-#include "osd/osd_types.h"
+#include "osd/osd_types.h" // for spg_t
 
 class MOSDFastDispatchOp : public Message {
 public:
index 4b1ea979ae256a3990ca92cfacc434b68b5b35e5..9394b187d6f8dec3e239299bfc2e4d96b7eb0460 100644 (file)
 #define CEPH_MOSDOP_H
 
 #include <atomic>
+#include <cstdint>
+#include <vector>
 
 #include "MOSDFastDispatchOp.h"
 #include "include/ceph_features.h"
+#include "include/ceph_fs.h" // for CEPH_MSG_OSD_OP
 #include "common/hobject.h"
 
 /*
index 54c5157c2219f60f5d0b99a47f925a915b9c3eda..2a4eeae87bb731f230a4a18f75438e053d14581e 100644 (file)
@@ -16,6 +16,9 @@
 #ifndef CEPH_MOSDOPREPLY_H
 #define CEPH_MOSDOPREPLY_H
 
+#include <ostream>
+#include <vector>
+
 #include "msg/Message.h"
 
 #include "MOSDOp.h"
index 2d9c2dcb5c2c5784a391539abd7758405fff8fbb..c528154b9b524d3596894b5362e8b01993cfd5d2 100644 (file)
@@ -15,6 +15,9 @@
 #ifndef CEPH_MPGSTATS_H
 #define CEPH_MPGSTATS_H
 
+#include <map>
+
+#include "common/Formatter.h"
 #include "osd/osd_types.h"
 #include "messages/PaxosServiceMessage.h"
 
index 03bade32bfe4eae19a7fb21a459ec86269069b43..a4ef12b91c9210d4fe360a93df310e83b6d390bb 100644 (file)
@@ -15,7 +15,9 @@
 #ifndef CEPH_MPGSTATSACK_H
 #define CEPH_MPGSTATSACK_H
 
-#include "osd/osd_types.h"
+#include "include/types.h" // for epoch_t, version_t
+#include "msg/Message.h"
+#include "osd/osd_types.h" // for pg_t
 
 class MPGStatsAck final : public Message {
 public:
index bff4326ee9198e1b25a1329b509b43ae6a661681..4ade7bfca640a6ccddadcbbe642bf5936d7acff8 100644 (file)
@@ -16,6 +16,7 @@
 #ifndef CEPH_MPING_H
 #define CEPH_MPING_H
 
+#include "include/ceph_fs.h" // for CEPH_MSG_PING
 #include "msg/Message.h"
 
 class MPing final : public Message {
index 46a9a3748dd5586b4a6d3d8659db7b6e84984c72..a12d0aabb959070d569f42a60ae0e481ac3be14c 100644 (file)
@@ -18,6 +18,8 @@
 
 #include <optional>
 #include <sys/statvfs.h>    /* or <sys/statfs.h> */
+
+#include "include/ceph_fs.h" // for CEPH_MSG_STATFS
 #include "messages/PaxosServiceMessage.h"
 
 class MStatfs final : public PaxosServiceMessage {
index 03cd157f2d025b4e23bbb77b15f387ded0c399e3..264ab2c12d93c507668ef19317fa5eeef2e1472c 100644 (file)
 #ifndef CEPH_MTIMECHECK_H
 #define CEPH_MTIMECHECK_H
 
+#include <cstdint>
+#include <map>
+
+#include "include/encoding.h"
+#include "include/utime.h"
+#include "include/types.h" // for version_t
+#include "msg/Message.h"
+
 class MTimeCheck final : public Message {
 public:
   static constexpr int HEAD_VERSION = 1;
index 8d9c4215fd4ebee3c54bf939f88f630f40663202..574067a1777e87d8bbc9ab662bb1701d22a25610 100644 (file)
 
 #pragma once
 
+#include <cstdint>
+#include <map>
+
+#include "include/encoding.h"
+#include "include/utime.h"
+#include "include/types.h" // for version_t
+#include "msg/Message.h"
+
 class MTimeCheck2 final : public Message {
 public:
   static constexpr int HEAD_VERSION = 1;
index 971c860c7609e60d855bca291357a5af581c7659..3dbe8476e9d4f4adb481f85e5f097d5dcb41ea6c 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef CEPH_MWATCHNOTIFY_H
 #define CEPH_MWATCHNOTIFY_H
 
+#include <ostream>
+
 #include "msg/Message.h"
 
 
index 7379ece219f162228b8ca5ba1c2a7785297731d8..0b24f0ad67495bb1bf1f00c00e35f2a3fbf0c3a1 100644 (file)
@@ -6,7 +6,7 @@
 #include "msg/Message.h"
 #include "mon/Session.h"
 #include "include/encoding.h"
-#include "include/types.h" // for epoch_t
+#include "include/types.h" // for epoch_t, version_t
 
 #include <cstdint>
 #include <string_view>