]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGMap: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Tue, 29 Oct 2024 19:55:02 +0000 (20:55 +0100)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 13 Feb 2025 09:34:05 +0000 (10:34 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/mon/PGMap.cc
src/mon/PGMap.h

index 3b5ded25aefe32470288b6c8f38bebbb030860a3..32dfcd0e3ef7790adad8638d5fab1ae56a33c3c3 100644 (file)
@@ -1,23 +1,31 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
-#include <boost/algorithm/string.hpp>
+#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 <boost/algorithm/string.hpp>
 #include <boost/range/adaptor/reversed.hpp>
 
+#include <iomanip> // for std::setw()
+#include <sstream>
+
 #define dout_context g_ceph_context
 
 using std::list;
index d1135f2a1a1849227036b0f92cf29b2f96f85571..4b65ca04576604eee71a2e39feb2c5f5c4825ada 100644 (file)
 #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 <sstream>
 
+#include <cstdint>
+#include <iosfwd>
+#include <map>
+#include <set>
+#include <string>
+
+struct health_check_map_t;
 namespace ceph { class Formatter; }
+class TextTable;
 
 class PGMapDigest {
 public: