Actions
Bug #19818
opencrush: get_rule_weight_osd_map does not factor in pool size, rule
Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
CRUSH
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The get_rule_weight_osd_map assumes that every osd reachable by the TAKE ops are used once. This isn't true in general, as a rule might do something like
take root
choose 2 osd
take otheroot
choose 1 osd
It isn't strictly a function of the rule, either, as a rule for a 3x pool might do
take dc1
take 2 rack
take 1 osd
take dc2
take 2 rack
take 1 osd
(although this is a silly rule arguably).
Updated by Greg Farnum almost 7 years ago
- Project changed from Ceph to RADOS
- Category changed from 10 to Administration/Usability
- Component(RADOS) CRUSH added
Actions