]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/.../osd_operation: remove max_in_progress shortcut in with_throttle
authorSamuel Just <sjust@redhat.com>
Tue, 15 Apr 2025 22:01:43 +0000 (15:01 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 21 Apr 2025 16:30:28 +0000 (09:30 -0700)
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 <sjust@redhat.com>
src/crimson/osd/osd_operation.h

index 6ae64b59c7d45403cad54abe3ffe8cf6b63b5e27..03b6aa6c4be1105e674a6701c63b488b4e36733a 100644 (file)
@@ -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>(f))
       .finally([this] {