Skip to content

Commit f44e18f

Browse files
committed
osd/PeeringState: include cleanup
Signed-off-by: Max Kellermann <[email protected]>
1 parent 367f877 commit f44e18f

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

src/osd/PeeringState.cc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
22
// vim: ts=8 sw=2 smarttab
33

4+
#include "PeeringState.h"
45
#include "PGPeeringEvent.h"
6+
#include "osd_perf_counters.h"
57
#include "common/ceph_releases.h"
6-
#include "common/dout.h"
7-
#include "PeeringState.h"
8+
#include "common/debug.h"
9+
#include "common/ostream_temp.h"
10+
#include "crush/crush.h" // for CRUSH_ITEM_NONE
11+
#include "crush/CrushWrapper.h"
812

913
#include "messages/MOSDPGRemove.h"
1014
#include "messages/MBackfillReserve.h"

src/osd/PeeringState.h

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55

66
#include <boost/statechart/custom_reaction.hpp>
77
#include <boost/statechart/event.hpp>
8-
#include <boost/statechart/simple_state.hpp>
98
#include <boost/statechart/state.hpp>
109
#include <boost/statechart/state_machine.hpp>
1110
#include <boost/statechart/transition.hpp>
1211
#include <boost/statechart/event_base.hpp>
1312
#include <string>
1413
#include <atomic>
14+
#include <map>
15+
#include <optional>
16+
#include <ostream>
17+
#include <vector>
1518

1619
#include "include/ceph_assert.h"
1720
#include "include/common_fwd.h"
@@ -20,13 +23,16 @@
2023
#include "PGStateUtils.h"
2124
#include "PGPeeringEvent.h"
2225
#include "osd_types.h"
23-
#include "osd_types_fmt.h"
2426
#include "os/ObjectStore.h"
2527
#include "OSDMap.h"
2628
#include "MissingLoc.h"
27-
#include "osd/osd_perf_counters.h"
29+
#include "msg/Message.h"
30+
#include "msg/MessageRef.h"
31+
#include "common/ceph_mutex.h"
2832
#include "common/config_cacher.h"
29-
#include "common/ostream_temp.h"
33+
#include "common/snap_types.h" // for class SnapContext
34+
35+
class OstreamTemp;
3036

3137
struct PGPool {
3238
epoch_t cached_epoch;

0 commit comments

Comments
 (0)