Project

General

Profile

Bug #19818

crush: get_rule_weight_osd_map does not factor in pool size, rule

Added by Sage Weil 3 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
Start date:
05/01/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No
Component(RADOS):
CRUSH

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).

History

#1 Updated by Greg Farnum about 1 month ago

  • Project changed from Ceph to RADOS
  • Category changed from 10 to Administration/Usability
  • Component(RADOS) CRUSH added

Also available in: Atom PDF