From 896a9e322479e2fd245f50bb021bcf0fd1796d84 Mon Sep 17 00:00:00 2001 From: Jon Bailey Date: Tue, 24 Mar 2026 15:01:51 +0000 Subject: [PATCH] FIXUP: osd: Add ec experimental setting for ec optimisations direct reads in LRC Signed-off-by: Jon Bailey --- src/mon/OSDMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index eb3926c9701..2751ebbc6bf 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -8486,7 +8486,7 @@ int OSDMonitor::enable_pool_ec_optimizations(pg_pool_t &p, return -EINVAL; } if (yes_i_really_mean_it && (erasure_code->get_supported_optimizations() & - ErasureCodeInterface::FLAG_EC_PLUGIN_OPTIMIZED_SUPPORTED) == 0) { + ErasureCodeInterface::FLAG_EC_PLUGIN_OPTIMIZED_EXPERIMENTAL) != 0) { if (ss) { *ss << "This is experimental for use in test and development and is " "not a supported configuration."; -- 2.47.3