MCPcopy Create free account
hub / github.com/ceph/ceph / init

Method init

src/erasure-code/jerasure/ErasureCodeJerasure.cc:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55int 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
67int ErasureCodeJerasure::parse(ErasureCodeProfile &profile,
68 ostream *ss)

Callers 1

factoryMethod · 0.45

Calls 3

prepareFunction · 0.85
parseFunction · 0.50
initFunction · 0.50

Tested by

no test coverage detected