On Mon, 17 Mar 2014, Loic Dachary wrote:
> In doc/dev/erasure-coded-pool.rst:
> >  Set the ruleset failure domain to osd instead of the host which is the default::
> >  
> > - ceph osd pool create ecpool 12 12 erasure \
> > -   erasure-code-ruleset-failure-domain=osd
> > + ceph osd erasure-code-profile set myprofile \
> > +   ruleset-failure-domain=osd
> 
> It is parse_erasure_code_profile
> https://github.com/dachary/ceph/blob/wip-erasure-code-profiles/src/mon/OSDMonitor.cc#L3971 which populates
> the map https://github.com/dachary/ceph/blob/wip-erasure-code-profiles/src/mon/OSDMonitor.cc#L2966 before
> setting the user provided values

Oh, I see!

Hmm, I wonder if that is too much magic to have a bunch of k/v pairs 
appear in any new profile.  I thought these defaults would appear in a 
'default' profile created when the cluster was created.