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

mimic: crush: fix device_class_clone for unpopulated/empty weight-sets #22169

Merged
merged 1 commit into from May 25, 2018

Conversation

Projects
None yet
2 participants
@tchaikov
Copy link
Contributor

commented May 23, 2018

If the bucket is empty or does not have weight-set weights yet, avoid
crashing when populating the parent bucket.

Fixes: http://tracker.ceph.com/issues/23386
Signed-off-by: Sage Weil sage@redhat.com
(cherry picked from commit 452b521)

crush: fix device_class_clone for unpopulated/empty weight-sets
If the bucket is empty or does not have weight-set weights yet, avoid
crashing when populating the parent bucket.

Fixes: http://tracker.ceph.com/issues/23386
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 452b521)

@tchaikov tchaikov added this to the mimic milestone May 23, 2018

@tchaikov tchaikov requested a review from liewegas May 23, 2018

@tchaikov tchaikov merged commit c9f7940 into ceph:mimic May 25, 2018

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details

@tchaikov tchaikov deleted the tchaikov:mimic-23386 branch May 25, 2018

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.