From bb0f12282095a2acff3aeba9fda42211ba4b968b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 12 Sep 2025 12:11:06 +0200 Subject: [PATCH] osd: add missing includes Signed-off-by: Max Kellermann --- src/osd/OSD.cc | 1 + src/osd/scheduler/OpSchedulerItem.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 8c66d945eb30..56b3fe1e6953 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -39,6 +39,7 @@ #include #endif +#include "mgr/DaemonHealthMetric.h" // for enum daemon_metric #include "osd/PG.h" #include "osd/scrubber/scrub_machine.h" #include "osd/scrubber/pg_scrubber.h" diff --git a/src/osd/scheduler/OpSchedulerItem.h b/src/osd/scheduler/OpSchedulerItem.h index 4eb17409e834..129c3547325f 100644 --- a/src/osd/scheduler/OpSchedulerItem.h +++ b/src/osd/scheduler/OpSchedulerItem.h @@ -15,7 +15,10 @@ #pragma once +#include +#include #include +#include #include "include/types.h" #include "include/utime_fmt.h" @@ -25,6 +28,7 @@ #include "osd/PGPeeringEvent.h" #include "messages/MOSDOp.h" #include "common/mclock_common.h" +#include "common/WorkQueue.h" // for class ThreadPool class OSD; -- 2.47.3