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

fix(overprovisioning): fix overprovisioning bug in case of clone volume #1593

Merged
merged 1 commit into from
Jan 27, 2020

Conversation

sonasingh46
Copy link
Contributor

This commit fixes a bug that was not allowing the clone volumes to
get created if overprovisioning was disabled.

Details :
In the case of clone volumes, the capacity of CSP was not being passed which caused the overprovisioning policy to error out due to empty capacity.
Now clone volume will be created on the specific pools only where the source volume exists.
To fix this, an entire map of CSP capacity vs uid is passed via runtask and the capacity for the specific CSP where clone volume needs to come is picked from the map to decide on overprovisioning requirements.

Signed-off-by: Ashutosh Kumar ashutosh.kumar@mayadata.io

This commit fixes a bug that was not allowing the clone volumes to
get created if overprovisioning was disabled.

Signed-off-by: Ashutosh Kumar <ashutosh.kumar@mayadata.io>
Copy link
Contributor

@prateekpandey14 prateekpandey14 left a comment

Choose a reason for hiding this comment

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

lgtm

@sonasingh46 sonasingh46 added this to the 1.7.0 milestone Jan 24, 2020
Copy link

@mittachaitu mittachaitu left a comment

Choose a reason for hiding this comment

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

changes are good

@prateekpandey14 prateekpandey14 merged commit e55a61e into openebs-archive:master Jan 27, 2020
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.

4 participants