Skip to content

[v25.2.x] cloud_io: clear scheduling group bw cap when throttling is disabled#30474

Merged
nvartolomei merged 2 commits into
redpanda-data:v25.2.xfrom
vbotbuildovich:ai-backport-pr-30319-v25.2.x-1778769628
May 19, 2026
Merged

[v25.2.x] cloud_io: clear scheduling group bw cap when throttling is disabled#30474
nvartolomei merged 2 commits into
redpanda-data:v25.2.xfrom
vbotbuildovich:ai-backport-pr-30319-v25.2.x-1778769628

Conversation

@vbotbuildovich

Copy link
Copy Markdown
Collaborator

Backport of PR #30319

  • Command: git cherry-pick -x 1e49391 af31719
  • Commits backported: 2
  • Conflicts resolved: 1
  • Commits skipped (already on target): 0
  • Backport branch: ai-backport-pr-30319-v25.2.x-1778769628

Conflict details

  • 1e49391 (src/v/cloud_io/tests/BUILD): v25.2.x's BUILD file only contains the scoped_remote and s3_imposter library rules — none of the test/bench targets that exist on dev. The cherry-pick wanted to insert the new io_resources_test rule after db_s3_imposter_test, which does not exist on v25.2.x. Resolved by appending the new redpanda_cc_gtest(name = "io_resources_test", ...) block after the s3_imposter rule, leaving the s3_imposter rule unchanged, and adding redpanda_cc_gtest to the existing load("//bazel:test.bzl", ...) statement so the new rule resolves.

nvartolomei and others added 2 commits May 14, 2026 14:42
When set_disk_max_bandwidth is called with 0 or max to disable
throttling, the cap previously set on the scheduling_group via
update_io_bandwidth stayed in effect. Set it to an effectively
unlimited value so the cap is lifted.

Workaround for scylladb/seastar#3370: there is no API to clear the
cap, and values at/above the internal max_rate threshold throw, so
pass 1 PiB/s which is well below that ceiling and well above any
real device.

(cherry picked from commit 1e49391)
Co-authored-by: Oren Leiman <1635704+oleiman@users.noreply.github.com>
(cherry picked from commit af31719)
@vbotbuildovich vbotbuildovich added this to the v25.2.x-next milestone May 14, 2026
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label May 14, 2026
@nvartolomei nvartolomei merged commit 7ee9ee3 into redpanda-data:v25.2.x May 19, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build area/redpanda kind/backport PRs targeting a stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants