Skip to content

(WIP) feat: add QoS control to throttle resource usage during rebuilding #960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hookak
Copy link
Contributor

@hookak hookak commented Apr 22, 2025

Which issue(s) this PR fixes:

Issue # longhorn/longhorn#10770

What this PR does / why we need it:

Special notes for your reviewer:

Additional documentation or context

Copy link
Contributor

@shuo-wu shuo-wu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you create a separate PR for API BdevSetQosLimit in repo https://github.com/longhorn/go-spdk-helper.

As for the rebuilding-related modification in github.com/longhorn/longhorn-spdk-engine/pkg/spdk/replica.go, I think it's better to make the QoS configurable rather than using fixed numbers. Besides, we should create a separate PR in repo https://github.com/longhorn/longhorn-spdk-engine as well.

@hookak
Copy link
Contributor Author

hookak commented Apr 23, 2025

Thank you so much for reviewing my PR @shuo-wu

As you suggested, I will separate the changes into the appropriate repositories. For now, I included everything in a single repository just to prototype the implementation more easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants