summaryrefslogtreecommitdiffstats
path: root/src/erasure-code/jerasure
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2017-06-29 22:33:15 +0200
committerSage Weil <sage@redhat.com>2017-07-06 21:00:37 +0200
commit5a4ba443c423f7269c26daadf376848d88f3f408 (patch)
tree741e06b9259dd3e34ee6f13359fcd18bea92fc04 /src/erasure-code/jerasure
parentMerge pull request #15670 from rzarzynski/wip-rgw-postobj-get_params-error-ha... (diff)
downloadceph-5a4ba443c423f7269c26daadf376848d88f3f408.tar.xz
ceph-5a4ba443c423f7269c26daadf376848d88f3f408.zip
mon,crush: 'osd crush rule create-replicated ...'
New command to create crush rule that specifies a class of device. Plus all of the fallout in other callers to the CrushWrapper helpers, the crushtool cli change, and cli test. Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/erasure-code/jerasure')
-rw-r--r--src/erasure-code/jerasure/ErasureCodeJerasure.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erasure-code/jerasure/ErasureCodeJerasure.cc b/src/erasure-code/jerasure/ErasureCodeJerasure.cc
index ca1b09649f7..85858773de3 100644
--- a/src/erasure-code/jerasure/ErasureCodeJerasure.cc
+++ b/src/erasure-code/jerasure/ErasureCodeJerasure.cc
@@ -47,7 +47,7 @@ int ErasureCodeJerasure::create_ruleset(const string &name,
ostream *ss) const
{
int ruleid = crush.add_simple_rule(
- name, ruleset_root, ruleset_failure_domain,
+ name, ruleset_root, ruleset_failure_domain, "",
"indep", pg_pool_t::TYPE_ERASURE, ss);
if (ruleid < 0)
return ruleid;