From 1c152da4e04e6122b777eb3d6e98351afde16206 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 9 Oct 2020 15:58:06 +0800 Subject: [PATCH] osd/OSD: remove unused #include Signed-off-by: Kefu Chai --- src/ceph_osd.cc | 2 +- src/osd/OSD.cc | 1 + src/osd/OSD.h | 8 -------- src/osd/PrimaryLogPG.cc | 1 + 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/ceph_osd.cc b/src/ceph_osd.cc index c75abf838777e..333e0de9a107c 100644 --- a/src/ceph_osd.cc +++ b/src/ceph_osd.cc @@ -20,11 +20,11 @@ #include #include +#include "auth/KeyRing.h" #include "osd/OSD.h" #include "os/ObjectStore.h" #include "mon/MonClient.h" #include "include/ceph_features.h" - #include "common/config.h" #include "mon/MonMap.h" diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index c1a6d73cb92d8..7c2ecc83f37ed 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -145,6 +145,7 @@ #include "perfglue/cpu_profiler.h" #include "perfglue/heap_profiler.h" +#include "osd/ClassHandler.h" #include "osd/OpRequest.h" #include "auth/AuthAuthorizeHandler.h" diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 074320fcd90fe..069f4226af560 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -31,11 +31,6 @@ #include "mgr/MgrClient.h" #include "os/ObjectStore.h" -#include "OSDCap.h" - -#include "auth/KeyRing.h" - -#include "osd/ClassHandler.h" #include "include/CompatSet.h" #include "include/common_fwd.h" @@ -54,9 +49,6 @@ #include "common/shared_cache.hpp" #include "common/simple_cache.hpp" -#include "common/sharedptr_registry.hpp" -#include "common/WeightedPriorityQueue.h" -#include "common/PrioritizedQueue.h" #include "messages/MOSDOp.h" #include "common/EventTrace.h" #include "osd/osd_perf_counters.h" diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 4712738228004..d4403d653a7b8 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -24,6 +24,7 @@ #include "ScrubStore.h" #include "Session.h" #include "objclass/objclass.h" +#include "osd/ClassHandler.h" #include "cls/cas/cls_cas_ops.h" #include "common/ceph_crypto.h" -- 2.39.5