]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson: add missing includes
authorMax Kellermann <max.kellermann@ionos.com>
Sun, 27 Oct 2024 16:58:52 +0000 (17:58 +0100)
committerMax Kellermann <max.kellermann@ionos.com>
Tue, 10 Dec 2024 10:55:47 +0000 (11:55 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
16 files changed:
src/crimson/admin/osd_admin.cc
src/crimson/common/logclient.cc
src/crimson/common/tmap_helpers.cc
src/crimson/mon/MonClient.cc
src/crimson/net/Socket.cc
src/crimson/os/alienstore/thread_pool.cc
src/crimson/os/cyanstore/cyan_store.cc
src/crimson/os/seastore/cached_extent.h
src/crimson/os/seastore/seastore_types.h
src/crimson/osd/heartbeat.cc
src/crimson/osd/main.cc
src/crimson/osd/main_config_bootstrap_helpers.cc
src/crimson/osd/pg.h
src/crimson/osd/shard_services.h
src/crimson/tools/perf_crimson_msgr.cc
src/os/bluestore/BlueFS.cc

index de9626a2f2d4555f8c25cd191b02582e20310a63..41da72c9fdeaea8071b4b98c3eee6d1ccbcde5ee 100644 (file)
@@ -14,6 +14,7 @@
 #include "common/config.h"
 #include "crimson/admin/admin_socket.h"
 #include "crimson/common/log.h"
+#include "crimson/common/perf_counters_collection.h"
 #include "crimson/osd/exceptions.h"
 #include "crimson/osd/osd.h"
 #include "crimson/osd/pg.h"
index d402ecd1901a4f5232b78aff1192175f0d007a5d..a3c30227bc790f4da77eb95ec57e847f709f2b16 100644 (file)
@@ -7,6 +7,7 @@
 #include "crimson/net/Messenger.h"
 #include "crimson/mon/MonClient.h"
 #include "mon/MonMap.h"
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/Graylog.h"
 
 using std::map;
index 9c14ebc450e7b3df2f2413bc0947303589240bec..58c4fc7e2186acf7d54936fde2ee55d90209f3be 100644 (file)
@@ -7,6 +7,8 @@
 #include "include/encoding.h"
 #include "include/rados.h"
 
+#include <map>
+
 namespace detail {
 
 #define decode_or_return(v, bp) \
index 4919f0bf21ff519b373179c14aae36b6b52a3ff2..4c076cf43c60af6efeeacd39ab91f711fd9008b0 100644 (file)
@@ -13,6 +13,7 @@
 #include "auth/AuthClientHandler.h"
 #include "auth/RotatingKeyRing.h"
 
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/hostname.h"
 #include "include/utime_fmt.h"
 
index 2c729f4e8c2d84fd0230f0bdf312227176f892ca..3a7aeaf9651e2269661b939b4e20a009d84ce548 100644 (file)
@@ -8,6 +8,7 @@
 #include <seastar/net/packet.hh>
 
 #include "crimson/common/log.h"
+#include "include/random.h" // for ceph::util::generate_random_number()
 #include "Errors.h"
 
 using crimson::common::local_conf;
index 277055ec51e6474d59f7b0fa38ca8757f9140137..2d208548b326a0dfdcda10218362a46cc0e17ee0 100644 (file)
@@ -7,6 +7,7 @@
 #include <pthread.h>
 
 #include "include/ceph_assert.h"
+#include "include/intarith.h" // for round_up_to()
 #include "crimson/common/config_proxy.h"
 
 using crimson::common::local_conf;
index 3f861a9271f8341c4189ed172b8ec945c39548f5..a8bf514de15abe12556b7a85023d73392abc355a 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "crimson/common/buffer_io.h"
 #include "crimson/common/config_proxy.h"
+#include "crimson/common/perf_counters_collection.h"
 #include "cyan_collection.h"
 #include "cyan_object.h"
 
index 2a54e8ded771783df2a6c04f445705e43a603932..782afa19d33aed3714994afaef148fa9256b36c8 100644 (file)
@@ -6,6 +6,7 @@
 #include <iostream>
 
 #include <boost/intrusive/list.hpp>
+#include <boost/intrusive/set.hpp>
 #include <boost/intrusive_ptr.hpp>
 #include <boost/smart_ptr/intrusive_ref_counter.hpp>
 
index 483ac995ee31504763977b52dbed22442e574eb4..7c7a683300672ed12efd08093994d1fa10e5c251 100644 (file)
@@ -3,6 +3,7 @@
 
 #pragma once
 
+#include <deque>
 #include <limits>
 #include <numeric>
 #include <optional>
@@ -14,6 +15,7 @@
 
 #include "include/byteorder.h"
 #include "include/denc.h"
+#include "include/encoding.h"
 #include "include/buffer.h"
 #include "include/intarith.h"
 #include "include/interval_set.h"
index 03986952b4f24c6b035c27c908d13bd6d9a1f3e7..5902fc8c14f22909b08d80a759c0c2a9f88f94f5 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "messages/MOSDPing.h"
 #include "messages/MOSDFailure.h"
+#include "msg/msg_types.h"
 
 #include "crimson/common/config_proxy.h"
 #include "crimson/common/formatter.h"
index fa387804dcda2d56373447b5aedba95412a83f62..7ed3dc0e3fe4024123eaee3464edc226c7fb44e7 100644 (file)
@@ -24,6 +24,7 @@
 #include "crimson/common/buffer_io.h"
 #include "crimson/common/config_proxy.h"
 #include "crimson/common/fatal_signal.h"
+#include "crimson/common/perf_counters_collection.h"
 #include "crimson/mon/MonClient.h"
 #include "crimson/net/Messenger.h"
 #include "crimson/osd/stop_signal.h"
index 3596929527f9332d748a5212dbb7611b388ac7ac..e4920eb870f386ec9bbf18d7f1033641414f5929 100644 (file)
 #include "crimson/common/buffer_io.h"
 #include "crimson/common/config_proxy.h"
 #include "crimson/common/fatal_signal.h"
+#include "crimson/common/perf_counters_collection.h"
 #include "crimson/mon/MonClient.h"
 #include "crimson/net/Messenger.h"
 #include "crimson/osd/main_config_bootstrap_helpers.h"
 
+#include <sys/wait.h> // for waitpid()
+
 using namespace std::literals;
 using crimson::common::local_conf;
 using crimson::common::sharded_conf;
index 15aeec0e4f35c0fd93c3b73d3ec91a603cb7f6b3..0c25cf25839a799dfb879c1fbaedf7529d3baccd 100644 (file)
@@ -10,6 +10,7 @@
 #include <seastar/core/shared_future.hh>
 
 #include "common/dout.h"
+#include "common/ostream_temp.h"
 #include "include/interval_set.h"
 #include "crimson/net/Fwd.h"
 #include "messages/MOSDRepOpReply.h"
index fb86418aba2a643f61252fe452980c5a8484700f..56ac4963fff7187b589cf2d9a256640fc42275b1 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "include/common_fwd.h"
 #include "osd_operation.h"
+#include "osd/osd_types_fmt.h"
 #include "msg/MessageRef.h"
 #include "crimson/common/exception.h"
 #include "crimson/common/shared_lru.h"
index e5f56361fff3db6a16c7202924e1990dc1777e76..5623438f821723db3ae6f3b2ce043de0cb9c1a48 100644 (file)
@@ -1,6 +1,7 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
+#include <iomanip>
 #include <map>
 #include <boost/program_options.hpp>
 #include <boost/iterator/counting_iterator.hpp>
index 5f4f1a4d48ac25c630a3ae1d496f0525be8380f1..e123a0a200a1e4eeac98765a90c391c3b759c4cb 100644 (file)
@@ -5,6 +5,7 @@
 #include "bluestore_common.h"
 #include "BlueFS.h"
 
+#include "common/Clock.h" // for ceph_clock_now()
 #include "common/debug.h"
 #include "common/errno.h"
 #include "common/perf_counters.h"
 #include "include/ceph_assert.h"
 #include "common/admin_socket.h"
 
+#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN)
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
 #define dout_context cct
 #define dout_subsys ceph_subsys_bluefs
 #undef dout_prefix