Skip to content
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

Feature/limit disk io #1274

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Feature/limit disk io #1274

wants to merge 7 commits into from

Conversation

atta
Copy link
Contributor

@atta atta commented Nov 23, 2017

Allow to control the amount of I/O that a Instance can perform

allow users to limit the io-operations and bandwidth for all disks of an Instance.
@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this State. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

@atta atta changed the base branch from master to stable-2.16 November 23, 2017 15:17
@iustin
Copy link
Contributor

iustin commented Mar 5, 2018

So, without looking at the code itself - adding a new feature doesn't seem like the proper thing to do on a stable branch. Would you mind sending this against master instead?

@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Sep 9, 2018
@atta
Copy link
Contributor Author

atta commented Sep 9, 2018

since we wait so long to get 2.16 released we had to start to move things forward and add features to 2.16 we needed.

i'am fine with adding the feature to 2.17 but please keep ganeti going

@atta atta added the Ganeti 3.1 Patches for Ganeti 3.1 label Sep 4, 2020
@atta atta added this to the Release 3.1 milestone Sep 4, 2020
@saschalucas
Copy link
Member

@atta, would you be so kind to PR against master, so that we can merge it for 3.1? The code looks good to me. Spelling and wording in the man page can be improved.

@atta atta changed the base branch from stable-2.16 to master January 3, 2021 19:40
atta and others added 3 commits January 3, 2021 21:10
allow users to limit the io-operations and bandwidth for all disks of an Instance.
Copy link
Member

@rbott rbott left a comment

Choose a reason for hiding this comment

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

LGTM and has passed the QA suite (although there are no specific tests for it of course - but it also does not break anything unrelated).

@rbott rbott removed the cla: yes label Aug 21, 2022
@rbott
Copy link
Member

rbott commented Aug 21, 2022

This should be rebased on the current master once #1667 has been merged. It will remove the -drive parameter and hence render this patch unusable. From the QMP Reference Docs it looks like you need to add a "throttle filter driver" in between the blockdev and the disk driver.

Please also be aware that this needs to be done for regular instance start (_GenerateKVMBlockDevicesOptions() in hv_kvm/__init__.py) and also for disk hotplugging (HotAddDisk() in hv_kvm/monitor.py).

The new parameters also need to be added/removed to the config data during up/downgrade.

@atta
Copy link
Contributor Author

atta commented Jan 28, 2023

thanks will have a look

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

Successfully merging this pull request may close these issues.

None yet

5 participants