From: Max Kellermann Date: Tue, 29 Oct 2024 19:55:02 +0000 (+0100) Subject: mon/PGMap: include cleanup X-Git-Tag: testing/wip-pdonnell-testing-20250217.184135-debug~10^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d50d19a00032d220f1ca788b825d20b7e15bd8ac;p=ceph-ci.git mon/PGMap: include cleanup Signed-off-by: Max Kellermann --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 3b5ded25aef..32dfcd0e3ef 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -1,23 +1,31 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab -#include +#include "PGMap.h" +#include "mon/health_check.h" +#include "common/ceph_context.h" #include "include/rados.h" -#include "PGMap.h" #define dout_subsys ceph_subsys_mon #include "common/debug.h" #include "common/Clock.h" #include "common/Formatter.h" +#include "common/TextTable.h" #include "global/global_context.h" #include "include/ceph_features.h" +#include "include/health.h" #include "include/stringify.h" #include "osd/osd_types.h" #include "osd/OSDMap.h" + +#include #include +#include // for std::setw() +#include + #define dout_context g_ceph_context using std::list; diff --git a/src/mon/PGMap.h b/src/mon/PGMap.h index d1135f2a1a1..4b65ca04576 100644 --- a/src/mon/PGMap.h +++ b/src/mon/PGMap.h @@ -21,15 +21,22 @@ #ifndef CEPH_PGMAP_H #define CEPH_PGMAP_H -#include "include/health.h" -#include "common/debug.h" -#include "common/TextTable.h" +#include "include/buffer.h" +#include "common/debug.h" // for cmdmap_t +#include "common/cmdparse.h" +#include "common/Formatter.h" #include "osd/osd_types.h" #include "include/mempool.h" -#include "mon/health_check.h" -#include +#include +#include +#include +#include +#include + +struct health_check_map_t; namespace ceph { class Formatter; } +class TextTable; class PGMapDigest { public: