From 1c009f4f24fc3594e876db2c49dae294f51c0bad Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Tue, 15 Apr 2025 15:01:43 -0700 Subject: [PATCH] crimson/.../osd_operation: remove max_in_progress shortcut in with_throttle This made sense prior to the addition of the scheduler. Now, we need to go through the scheduler whether there's a max or not. Signed-off-by: Samuel Just --- src/crimson/osd/osd_operation.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/crimson/osd/osd_operation.h b/src/crimson/osd/osd_operation.h index 6ae64b59c7d..03b6aa6c4be 100644 --- a/src/crimson/osd/osd_operation.h +++ b/src/crimson/osd/osd_operation.h @@ -314,7 +314,6 @@ public: auto with_throttle( crimson::osd::scheduler::params_t params, F &&f) { - if (!max_in_progress) return f(); return acquire_throttle(params) .then(std::forward(f)) .finally([this] { -- 2.39.5