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

capacity-manila: consider ResourceDemand when splitting capacity/usage between shares and snapshots #464

Merged
merged 2 commits into from
May 22, 2024

Commits on May 21, 2024

  1. capacity-manila: do not split subcapacities between shares and snapshots

    1. Nobody is using these subcapacities right now.
    2. Having them split like this would make the change in the next commit
       extremely painful.
    majewsky committed May 21, 2024
    Configuration menu
    Copy the full SHA
    153c922 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. capacity-manila: consider demand when splitting capa/usage

    The CapacityBalance is only used for capacity and usage that is not
    covered by a suitable demand.
    
    This got a bit more complicated than I expected because the demand
    applies to overcommitted capacity, so the demand numbers need to be
    converted back into the respective raw numbers first.
    majewsky committed May 22, 2024
    Configuration menu
    Copy the full SHA
    82886ef View commit details
    Browse the repository at this point in the history