]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: ErasureCodeShec update default values to string 4710/head
authorLoic Dachary <ldachary@redhat.com>
Sun, 17 May 2015 16:09:21 +0000 (18:09 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sat, 30 May 2015 22:01:34 +0000 (00:01 +0200)
commita199ff9d59382a988bf03518c823d1a292ff1452
tree2b5d535cc5d85181e1d69930fa8fa4f69c0bc0d3
parent395eba9b38e8f8e301910531dc2934c6e4cfed69
erasure-code: ErasureCodeShec update default values to string

Update the ErasureCodeShec::init function to use string default
values. The default profile values for technique, ruleset-root and
ruleset-failure-domain are set for the user to see.

The error message when an invalid technique is provided is written to
the error stream to be returned to the user instead of being written to
the OSD log.

Updating other values from the profile would require deeper changes and
is left for later.

http://tracker.ceph.com/issues/9589 Fixes: #9589

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/erasure-code/shec/ErasureCodePluginShec.cc
src/erasure-code/shec/ErasureCodeShec.cc
src/erasure-code/shec/ErasureCodeShec.h