]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: change default erasure-code-profile to k=2 m=2
authorSage Weil <sage@redhat.com>
Wed, 17 Apr 2019 21:16:53 +0000 (16:16 -0500)
committerSage Weil <sage@redhat.com>
Fri, 19 Apr 2019 21:47:57 +0000 (16:47 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/standalone/mon/osd-erasure-code-profile.sh
src/common/options.cc

index 8aadbfa2f63217a5757645bfd54391e9dac15459..364b4c169508d5d0e3a9f2785200f04180dcf7d1 100755 (executable)
@@ -132,7 +132,7 @@ function TEST_set_idempotent() {
     # ceph osd erasure-code-profile set: verify that it is idempotent,
     # as if it was using the same code path.
     #
-    ceph osd erasure-code-profile set default k=2 m=1 2>&1 || return 1
+    ceph osd erasure-code-profile set default k=2 m=2 2>&1 || return 1
     local profile
     #
     # Because plugin=jerasure is the default, it uses a slightly
index dae9ae797a6a45855e2d39e6f9c79f3cf202710e..acd5297c7ce559d830f930560abbd40cd781d974 100644 (file)
@@ -2430,7 +2430,7 @@ std::vector<Option> get_global_options() {
     .add_service("mon"),
 
     Option("osd_pool_default_erasure_code_profile", Option::TYPE_STR, Option::LEVEL_ADVANCED)
-    .set_default("plugin=jerasure technique=reed_sol_van k=2 m=1")
+    .set_default("plugin=jerasure technique=reed_sol_van k=2 m=2")
     .set_flag(Option::FLAG_RUNTIME)
     .set_description("default erasure code profile for new erasure-coded pools")
     .add_service("mon"),