From c642e338bb772ed6653b9b8096db66b499c280ba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 4 Oct 2024 22:42:31 +0200 Subject: [PATCH] msg/ScrubStack: include cleanup Signed-off-by: Max Kellermann --- src/mds/ScrubStack.cc | 9 ++++++++- src/mds/ScrubStack.h | 8 +++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/mds/ScrubStack.cc b/src/mds/ScrubStack.cc index a0d168b023bd6..a5efe7732445c 100644 --- a/src/mds/ScrubStack.cc +++ b/src/mds/ScrubStack.cc @@ -13,10 +13,17 @@ */ #include "ScrubStack.h" -#include "common/Finisher.h" +#include "CDir.h" +#include "SnapRealm.h" +#include "common/debug.h" +#include "common/Formatter.h" +#include "mds/MDLog.h" #include "mds/MDSRank.h" #include "mds/MDCache.h" #include "mds/MDSContinuation.h" +#include "mds/SnapRealm.h" +#include "messages/MMDSScrub.h" +#include "messages/MMDSScrubStats.h" #include "osdc/Objecter.h" #define dout_context g_ceph_context diff --git a/src/mds/ScrubStack.h b/src/mds/ScrubStack.h index d6415db1771fd..a8b7e870dbf97 100644 --- a/src/mds/ScrubStack.h +++ b/src/mds/ScrubStack.h @@ -15,21 +15,19 @@ #ifndef SCRUBSTACK_H_ #define SCRUBSTACK_H_ -#include "CDir.h" -#include "CDentry.h" #include "CInode.h" -#include "MDSContext.h" #include "ScrubHeader.h" #include "common/LogClient.h" #include "common/Cond.h" #include "common/ceph_time.h" #include "include/elist.h" -#include "messages/MMDSScrub.h" -#include "messages/MMDSScrubStats.h" class MDCache; +class MMDSScrub; +class MMDSScrubStats; class Finisher; +class CDir; class ScrubStack { public: -- 2.39.5