]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd/PeeringState: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Sun, 27 Oct 2024 12:59:04 +0000 (13:59 +0100)
committerMax Kellermann <max.kellermann@ionos.com>
Sun, 30 Mar 2025 21:00:10 +0000 (23:00 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/osd/PeeringState.cc
src/osd/PeeringState.h

index 53ed29de8a068def4d682e5b278ecb8ffa2b529d..607c23f335b5e5da38932b2b3a13e9e5af9d7c19 100644 (file)
@@ -1,10 +1,14 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
+#include "PeeringState.h"
 #include "PGPeeringEvent.h"
+#include "osd_perf_counters.h"
 #include "common/ceph_releases.h"
-#include "common/dout.h"
-#include "PeeringState.h"
+#include "common/debug.h"
+#include "common/ostream_temp.h"
+#include "crush/crush.h" // for CRUSH_ITEM_NONE
+#include "crush/CrushWrapper.h"
 
 #include "messages/MOSDPGRemove.h"
 #include "messages/MBackfillReserve.h"
index 586261dd140eab7f4d0e524dd4fbdbd6f078a1f2..b2cfd93c12d53224cda11abb93241311194ad932 100644 (file)
@@ -5,13 +5,16 @@
 
 #include <boost/statechart/custom_reaction.hpp>
 #include <boost/statechart/event.hpp>
-#include <boost/statechart/simple_state.hpp>
 #include <boost/statechart/state.hpp>
 #include <boost/statechart/state_machine.hpp>
 #include <boost/statechart/transition.hpp>
 #include <boost/statechart/event_base.hpp>
 #include <string>
 #include <atomic>
+#include <map>
+#include <optional>
+#include <ostream>
+#include <vector>
 
 #include "include/ceph_assert.h"
 #include "include/common_fwd.h"
 #include "PGStateUtils.h"
 #include "PGPeeringEvent.h"
 #include "osd_types.h"
-#include "osd_types_fmt.h"
 #include "os/ObjectStore.h"
 #include "OSDMap.h"
 #include "MissingLoc.h"
-#include "osd/osd_perf_counters.h"
+#include "msg/Message.h"
+#include "msg/MessageRef.h"
+#include "common/ceph_mutex.h"
 #include "common/config_cacher.h"
-#include "common/ostream_temp.h"
+#include "common/snap_types.h" // for class SnapContext
+
+class OstreamTemp;
 
 struct PGPool {
   epoch_t cached_epoch;