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

crush: allow uniform buckets with no items #13521

Merged
merged 1 commit into from Feb 23, 2017

Conversation

Projects
None yet
2 participants
@ghost
Copy link

ghost commented Feb 19, 2017

When a uniform bucket is created with zero size, it returns on error
because crush_multiplication_is_unsafe returns false. Since the goal
of this safegard is to avoid overflow, it should not fail.

Signed-off-by: Loic Dachary ldachary@redhat.com

crush: allow uniform buckets with no items
When a uniform bucket is created with zero size, it returns on error
because crush_multiplication_is_unsafe returns false. Since the goal
of this safegard is to avoid overflow, it should not fail.

Signed-off-by: Loic Dachary <ldachary@redhat.com>

@ghost ghost added bug fix core labels Feb 19, 2017

@ghost ghost requested a review from liewegas Feb 19, 2017

@liewegas liewegas added the needs-qa label Feb 19, 2017

@ghost ghost added the wip-loic-testing label Feb 19, 2017

@ghost ghost removed the wip-loic-testing label Feb 19, 2017

@liewegas liewegas merged commit b1ea854 into ceph:master Feb 23, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.