]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc/ObjectCacher: include cleanup 61697/head
authorMax Kellermann <max.kellermann@ionos.com>
Mon, 7 Oct 2024 03:37:31 +0000 (05:37 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 20 Feb 2025 15:50:41 +0000 (16:50 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/osdc/ObjectCacher.cc
src/osdc/ObjectCacher.h

index 7cf6d851e0e792899fe26f4bdda25888f670e841..c43dad34b1b267fae8eb62abc145c6e648e4ee6f 100644 (file)
 
 #include <unordered_map>
 
+#if defined(WITH_SEASTAR) && !defined(WITH_ALIEN)
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
 #define MAX_FLUSH_UNDER_LOCK 20  ///< max bh's we start writeback on
 #define BUFFER_MEMORY_WEIGHT CEPH_PAGE_SHIFT  // memory usage of BufferHead, count in (1<<n)
                                 /// while holding the lock
index 535b52ed8dfd0c845d9d8042fa149c458b9ec2ff..fe59eb8db3e7a5355334b5bc6699c9587e3150f1 100644 (file)
 
 #include "common/Cond.h"
 #include "common/Finisher.h"
+#include "common/snap_types.h" // for class SnapContext
 #include "common/Thread.h"
 #include "common/zipkin_trace.h"
 
-#include "Objecter.h"
 #include "Striper.h"
 
 #include <unordered_map>