Created
August 16, 2016 16:09
-
-
Save cholcombe973/cff7af4074e23fd6121ee31bad6c7646 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
crushmap Ok(CrushMap { | |
magic: 65536, | |
max_buckets: 8, | |
max_rules: 1, | |
max_devices: 3, | |
buckets: [Straw(Straw(CrushBucketStraw { | |
bucket: Bucket { | |
id: -1, | |
bucket_type: SetChooseLocalTries, | |
alg: Straw, | |
hash: RJenkins1, | |
weight: 0, | |
size: 3, | |
items: [(-2, Some("ip-172-31-43-147")), (-3, Some("ip-172-31-22-2")), (-4, Some("ip-172-31-4-56"))], | |
perm_n: 0, | |
perm: 3 | |
}, | |
item_weights: [(0, 0), (0, 0), (0, 0)] | |
})), Straw(Straw(CrushBucketStraw { | |
bucket: Bucket { | |
id: -2, | |
bucket_type: Take, | |
alg: Straw, | |
hash: RJenkins1, | |
weight: 0, | |
size: 1, | |
items: [(0, Some("osd.0"))], | |
perm_n: 0, | |
perm: 1 | |
}, | |
item_weights: [(0, 0)] | |
})), Straw(Straw(CrushBucketStraw { | |
bucket: Bucket { | |
id: -3, | |
bucket_type: Take, | |
alg: Straw, | |
hash: RJenkins1, | |
weight: 0, | |
size: 1, | |
items: [(1, Some("osd.1"))], | |
perm_n: 0, | |
perm: 1 | |
}, | |
item_weights: [(0, 0)] | |
})), Straw(Straw(CrushBucketStraw { | |
bucket: Bucket { | |
id: -4, | |
bucket_type: Take, | |
alg: Straw, | |
hash: RJenkins1, | |
weight: 0, | |
size: 1, | |
items: [(2, Some("osd.2"))], | |
perm_n: 0, | |
perm: 1 | |
}, | |
item_weights: [(0, 0)] | |
})), Unknown, Unknown, Unknown, Unknown], | |
rules: [Some(Rule { mask: CrushRuleMask { | |
ruleset: 0, | |
rule_type: Replicated, | |
min_size: 1, | |
max_size: 10, | |
}, steps: [CrushRuleStep { | |
op: Take, | |
arg1: (-1, None), | |
arg2: (0, Some("osd")), | |
}, CrushRuleStep { | |
op: ChooseLeafFirstN, | |
arg1: (0, Some("osd")), | |
arg2: (1, Some("host")), | |
}, CrushRuleStep { | |
op: Emit, | |
arg1: (0, Some("osd")), | |
arg2: (0, Some("osd")), | |
}] })], | |
name_map: [(-4, "ip-172-31-4-56"), (-3, "ip-172-31-22-2"), (-2, "ip-172-31-43-147"), (-1, "default"), (0, "osd.0"), (1, "osd.1"), (2, "osd.2")], | |
rule_name_map: [(0, "replicated_ruleset")], | |
choose_local_tries: Some(0), | |
choose_local_fallback_tries: Some(0), | |
choose_total_tries: Some(50), | |
chooseleaf_descend_once: Some(1), | |
chooseleaf_vary_r: Some(1), | |
straw_calc_version: Some(0), | |
allowed_bucket_algorithms: Some(0), | |
chooseleaf_stable: Some(0), | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment