]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/MDSDaemon: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Wed, 16 Oct 2024 18:34:03 +0000 (20:34 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 17 Apr 2025 13:59:27 +0000 (15:59 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/mds/MDSDaemon.cc
src/mds/MDSDaemon.h

index 480d1433656bb1ab72f2d66bf2fa7effe69725ba..1dc592c9757be3a1e094284c4ff5e9b90af8986d 100644 (file)
@@ -17,6 +17,7 @@
 #include <unistd.h>
 
 #include "include/compat.h"
+#include "include/Context.h"
 #include "include/types.h"
 #include "include/str_list.h"
 
@@ -25,6 +26,7 @@
 #include "common/Timer.h"
 #include "common/ceph_argparse.h"
 #include "common/config.h"
+#include "common/debug.h"
 #include "common/entity_name.h"
 #include "common/errno.h"
 #include "common/perf_counters.h"
 #include "common/version.h"
 
 #include "global/signal_handler.h"
+#include "log/Log.h"
+
+#include "messages/MCommand.h"
+#include "messages/MCommandReply.h"
+#include "messages/MGenericMessage.h"
+#include "messages/MMDSMap.h"
+#include "messages/MMonCommand.h"
+#include "messages/MRemoveSnaps.h"
 
 #include "msg/Messenger.h"
 #include "mon/MonClient.h"
@@ -39,6 +49,7 @@
 #include "osdc/Objecter.h"
 
 #include "MDSMap.h"
+#include "MDSRank.h"
 
 #include "Server.h"
 #include "Locker.h"
index 7fd466603cd0309a17d1daf48b26b98857d53fe6..955963628d1702a1a10c53c272b5fea5ddcb8f7c 100644 (file)
 
 #include <string_view>
 
-#include "messages/MCommand.h"
-#include "messages/MCommandReply.h"
-#include "messages/MGenericMessage.h"
-#include "messages/MMDSMap.h"
-#include "messages/MMonCommand.h"
-
+#include "common/admin_finisher.h" // for asok_finisher
 #include "common/LogClient.h"
-#include "common/ceph_mutex.h"
 #include "common/fair_mutex.h"
 #include "common/Timer.h"
-#include "include/Context.h"
-#include "include/types.h"
 #include "mgr/MgrClient.h"
 #include "msg/Dispatcher.h"
 
 #include "Beacon.h"
-#include "MDSMap.h"
-#include "MDSRank.h"
 
 #define CEPH_MDS_PROTOCOL    37 /* cluster internal */
 
+namespace boost::asio { class io_context; }
+class Context;
+class MDSAuthCaps;
+class MDSMap;
+class MDSRankDispatcher;
 class Messenger;
 class MonClient;
+class MCommand;
+class MMDSMap;
 
 class MDSDaemon : public Dispatcher {
  public: