]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/QuiesceDb: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 25 Oct 2024 13:31:39 +0000 (15:31 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 20 Feb 2025 15:45:12 +0000 (16:45 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/mds/QuiesceDb.h
src/mds/QuiesceDbManager.h

index b2cdf957379556673572991b70dcdf10008b7dc2..486d08a70685a5f655f56777bc5b4bfbd4ec33ef 100644 (file)
  *
  */
 #pragma once
+
+#include <algorithm> // for std::max()
+#include <functional>
+#include <iomanip>
 #include <string>
-#include <map>
 #include <unordered_map>
+#include <unordered_set>
 #include <optional>
-#include <vector>
 #include <ranges>
 
 #include "mds/mdstypes.h"
 #include "common/ceph_time.h"
 
+class Context;
+
 // NB! The order of the states in the enum is important!
 // There are places in the code that aggregate multiple states
 // via min or max, depending on the task.
index 4d65f93d94ecc9939802861d1a643d17ec2ba2e6..596204f498ec626eb3e5edb213b35e1d8bedb7cf 100644 (file)
 #include <functional>
 #include <mutex>
 #include <condition_variable>
+#include <deque>
 #include <set>
+#include <optional>
 #include <queue>
+#include <unordered_map>
+#include <unordered_set>
 
 struct QuiesceClusterMembership {
   static const QuiesceInterface::PeerId INVALID_MEMBER;
@@ -306,4 +310,4 @@ class QuiesceDbManager {
     void calculate_quiesce_map(QuiesceMap &map);
 
     void complete_requests();
-};
\ No newline at end of file
+};