]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crush: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Mon, 7 Oct 2024 18:48:32 +0000 (20:48 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 13 Feb 2025 12:32:52 +0000 (13:32 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/crush/CrushLocation.cc
src/crush/CrushLocation.h
src/crush/CrushTester.cc
src/crush/CrushTreeDumper.h
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h

index 901ce4f464395c76c83f13151935952bbd9d0200..aae135ee118e093155d615a1a111ea16863b6078 100644 (file)
@@ -1,19 +1,21 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
-#include <vector>
-#include <boost/algorithm/string/trim.hpp>
-
 #include "CrushLocation.h"
 #include "CrushWrapper.h"
 #include "common/ceph_context.h"
 #include "common/config.h"
 #include "common/debug.h"
 #include "common/errno.h"
+#include "common/SubProcess.h"
 #include "include/common_fwd.h"
 #include "include/compat.h"
 #include "include/str_list.h"
 
+#include <boost/algorithm/string/trim.hpp>
+
+#include <vector>
+
 namespace ceph::crush {
 
 int CrushLocation::update_from_conf()
index 189d4f7882b16c690e5451a58c213221936502de..d92be7832e842e2c80a6cf45b642366dd8b490ea 100644 (file)
@@ -7,6 +7,8 @@
 #include <iosfwd>
 #include <map>
 #include <string>
+
+#include <fmt/core.h> // for FMT_VERSION
 #if FMT_VERSION >= 90000
 #include <fmt/ostream.h>
 #endif
index 1d659e6a56bfac986956d0b783acc52fc1ba4887..bac21b0e779999c7b325fe4ad06fbe3d3cb55c1e 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <algorithm>
 #include <cstdlib>
+#include <iomanip>
 #include <iostream>
 
 #include <boost/lexical_cast.hpp>
index a10c0f2c13c2d9cfb2efe0371a8c3dd32ba88abd..cfba3e872b118418c469eb0b4732c414a8f1190b 100644 (file)
 #define CRUSH_TREE_DUMPER_H
 
 #include "CrushWrapper.h"
+#include "common/Formatter.h"
 #include "include/stringify.h"
 
+#include <list>
+#include <map>
+#include <string>
+
 /**
  * CrushTreeDumper:
  * A helper class and functions to dump a crush tree.
index 32da5251da4f06a54a37eefd7d6f2ceedaf446b2..361903159be7d6c796a1dfa0168f8671ce745950 100644 (file)
@@ -1,16 +1,17 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
+#include "CrushWrapper.h"
+#include "CrushTreeDumper.h"
+
 #include "osd/osd_types.h"
+#include "common/ceph_context.h"
 #include "common/debug.h"
 #include "common/Formatter.h"
 #include "common/errno.h"
 #include "common/TextTable.h"
 #include "include/stringify.h"
 
-#include "CrushWrapper.h"
-#include "CrushTreeDumper.h"
-
 #define dout_subsys ceph_subsys_crush
 
 using std::cout;
index ef7d2b9976576f4555b2dc9d96b1af71087b41ee..8026a33571e1d79d745641c715d51620f96b8191 100644 (file)
@@ -8,6 +8,7 @@
 #include <map>
 #include <set>
 #include <string>
+#include <vector>
 
 #include <iosfwd>