_DD is k=2 m=0, which we don't allow. Switch it to cDD.
I confess I don't fully understand why this was _DD to begin with, but
I'm pretty sure mapping is there to control the order of results so that
it can be mapped to the CRUSH rule output sanely, and the coding portion
is not relevant to the test.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
52d5797c3d3d74dd88664cfe85e5d551e7b334a6)
ceph osd erasure-code-profile set remap-profile \
plugin=lrc \
- layers='[ [ "_DD", "" ] ]' \
+ layers='[ [ "cDD", "" ] ]' \
mapping='_DD' \
crush-steps='[ [ "choose", "osd", 0 ] ]' || return 1
ceph osd erasure-code-profile get remap-profile