summaryrefslogtreecommitdiffstats
path: root/src/test/multi_stress_watch.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2017-06-30 20:59:39 +0200
committerSage Weil <sage@redhat.com>2017-07-06 21:01:03 +0200
commitdc7a2aaf7a34b1e6af0c7b79dc44a69974c1da23 (patch)
tree67474598cc10f1b06beca6f914d077cd51455c70 /src/test/multi_stress_watch.cc
parentmon,crush: 'osd crush rule create-replicated ...' (diff)
downloadceph-dc7a2aaf7a34b1e6af0c7b79dc44a69974c1da23.tar.xz
ceph-dc7a2aaf7a34b1e6af0c7b79dc44a69974c1da23.zip
erasure-code: ruleset-* -> crush-*
1) ruleset is an obsolete term, and 2) crush-{rule,failure-domain,...} is more descriptive. Note that we are changing the names of the erasure code profile keys from ruleset-* to crush-*. We will update this on upgrade when the luminous flag is set, but that means that during mon upgrade you cannot create EC pools that use these fields. When the upgrade completes (users sets require_osd_release = luminous) existing ec profiles are updated automatically. Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/test/multi_stress_watch.cc')
-rw-r--r--src/test/multi_stress_watch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/multi_stress_watch.cc b/src/test/multi_stress_watch.cc
index 0d1e19ca9d1..9b1b715f348 100644
--- a/src/test/multi_stress_watch.cc
+++ b/src/test/multi_stress_watch.cc
@@ -85,7 +85,7 @@ test_erasure(Rados &cluster, std::string pool_name, std::string obj_name)
bufferlist inbl;
int ret;
ret = cluster.mon_command(
- "{\"prefix\": \"osd erasure-code-profile set\", \"name\": \"testprofile\", \"profile\": [ \"k=2\", \"m=1\", \"ruleset-failure-domain=osd\"]}",
+ "{\"prefix\": \"osd erasure-code-profile set\", \"name\": \"testprofile\", \"profile\": [ \"k=2\", \"m=1\", \"crush-failure-domain=osd\"]}",
inbl, NULL, &outs);
if (ret < 0) {
std::cerr << "mon_command erasure-code-profile set failed with " << ret << std::endl;