| 53 | |
| 54 | |
| 55 | int ErasureCodeJerasure::init(ErasureCodeProfile& profile, ostream *ss) |
| 56 | { |
| 57 | int err = 0; |
| 58 | dout(10) << "technique=" << technique << dendl; |
| 59 | profile["technique"] = technique; |
| 60 | err |= parse(profile, ss); |
| 61 | if (err) |
| 62 | return err; |
| 63 | prepare(); |
| 64 | return ErasureCode::init(profile, ss); |
| 65 | } |
| 66 | |
| 67 | int ErasureCodeJerasure::parse(ErasureCodeProfile &profile, |
| 68 | ostream *ss) |