]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: add missing includes 68761/head
authorMax Kellermann <max.kellermann@ionos.com>
Wed, 29 Apr 2026 07:55:48 +0000 (09:55 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Wed, 6 May 2026 05:58:26 +0000 (07:58 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/librbd/ImageCtx.cc
src/librbd/Operations.cc
src/librbd/api/Mirror.cc
src/librbd/internal.cc

index 9761a74f306ecd877cb50040d658b420122e0354..8ac3fba4e1e5ff61566ceea6060c3f6f5b68dfec 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "common/ceph_context.h"
 #include "common/Clock.h" // for ceph_clock_now()
+#include "common/Cond.h"
 #include "common/dout.h"
 #include "common/errno.h"
 #include "common/perf_counters.h"
 
 #include <shared_mutex> // for std::shared_lock
 
+#ifdef WITH_CRIMSON
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
 #define dout_subsys ceph_subsys_rbd
 #undef dout_prefix
 #define dout_prefix *_dout << "librbd::ImageCtx: "
index e6eb96172bf853b18d17278dfa3f5a2cf4bfbd3d..3130a42b0e04f01e7b8a4cadcdcfb7268de4ebd4 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "cls/rbd/cls_rbd_types.h"
 #include "librbd/Operations.h"
+#include "common/Cond.h"
 #include "common/dout.h"
 #include "common/errno.h"
 #include "common/perf_counters.h"
index 6fa6005c6191b28ce41b107a18a50f79731f4f5d..ccfcc41bd5155d84244082ef8dfc0dad5194ec41 100644 (file)
@@ -5,6 +5,7 @@
 #include "include/rados/librados.hpp"
 #include "include/stringify.h"
 #include "common/ceph_json.h"
+#include "common/Cond.h"
 #include "common/dout.h"
 #include "common/errno.h"
 #include "cls/rbd/cls_rbd_client.h"
index d61ef5d45b05eeba7c146b1f2b2b5a415ca91b1f..d85e4b3a00ce69f1a9d6ee6162b139ed956a2471 100644 (file)
@@ -9,6 +9,7 @@
 #include "include/types.h"
 #include "include/uuid.h"
 #include "common/ceph_context.h"
+#include "common/Cond.h"
 #include "common/dout.h"
 #include "common/errno.h"
 #include "common/Throttle.h"