]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PrimaryLogPG: reorder #includes 42089/head
authorKefu Chai <kchai@redhat.com>
Tue, 29 Jun 2021 06:58:24 +0000 (14:58 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 29 Jun 2021 07:00:20 +0000 (15:00 +0800)
so the oder of includes complies to https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/PrimaryLogPG.cc

index 75e070115e1fe878ea325021fd1ae5652a151ea1..463d3e1655e8a6861b7319acdacdc1e658395d66 100644 (file)
  *
  */
 
+#include <errno.h>
+
 #include <charconv>
+#include <sstream>
+#include <utility>
+
+#include <boost/intrusive_ptr.hpp>
+#include <boost/tuple/tuple.hpp>
 
-#include "boost/tuple/tuple.hpp"
-#include "boost/intrusive_ptr.hpp"
 #include "PG.h"
 #include "pg_scrubber.h"
 #include "PrimaryLogPG.h"
 
 #include "cls/cas/cls_cas_ops.h"
 #include "common/ceph_crypto.h"
+#include "common/config.h"
 #include "common/errno.h"
 #include "common/scrub_types.h"
 #include "common/perf_counters.h"
+#include "common/CDC.h"
+#include "common/EventTrace.h"
 
 #include "messages/MOSDOp.h"
 #include "messages/MOSDBackoff.h"
@@ -48,9 +56,7 @@
 #include "messages/MOSDPGUpdateLogMissingReply.h"
 #include "messages/MCommandReply.h"
 #include "messages/MOSDScrubReserve.h"
-#include "common/EventTrace.h"
 
-#include "common/config.h"
 #include "include/compat.h"
 #include "mon/MonClient.h"
 #include "osdc/Objecter.h"
 #undef dout_prefix
 #define dout_prefix _prefix(_dout, this)
 
-#include <sstream>
-#include <utility>
-
-#include <errno.h>
 #ifdef HAVE_JAEGER
 #include "common/tracer.h"
 #endif
 
-#include <common/CDC.h>
-
 MEMPOOL_DEFINE_OBJECT_FACTORY(PrimaryLogPG, replicatedpg, osd);
 
 using std::list;