Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
#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
#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>