From b811e8a6a5bdb01ba1463945dd801f2d8fbbcdd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rados=C5=82aw=20Zarzy=C5=84ski?= Date: Mon, 2 Oct 2023 21:51:53 +0200 Subject: [PATCH] crimson/osd: drop the mock of ECTransaction-for-crimson from ECCommon MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Radosław Zarzyński --- src/osd/ECCommon.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/osd/ECCommon.h b/src/osd/ECCommon.h index 79d094c04f8c..805f46aeb0e2 100644 --- a/src/osd/ECCommon.h +++ b/src/osd/ECCommon.h @@ -30,16 +30,10 @@ #include "osd/OSDMap.h" #include "osd/osd_op_util.h" -struct ECTransaction { - struct WritePlan { - bool invalidates_cache = false; // Yes, both are possible - std::map to_read; - std::map will_write; - }; -}; typedef void* OpRequestRef; typedef crimson::osd::ObjectContextRef ObjectContextRef; +#include "ECTransaction.h" #else #include "common/WorkQueue.h" #endif -- 2.47.3