Skip to content

Commit 1c009f4

Browse files
committed
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 <[email protected]>
1 parent 0f7add9 commit 1c009f4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/crimson/osd/osd_operation.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ class OperationThrottler : public BlockerT<OperationThrottler>,
314314
auto with_throttle(
315315
crimson::osd::scheduler::params_t params,
316316
F &&f) {
317-
if (!max_in_progress) return f();
318317
return acquire_throttle(params)
319318
.then(std::forward<F>(f))
320319
.finally([this] {

0 commit comments

Comments
 (0)