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

Method init

src/erasure-code/shec/ErasureCodeShec.cc:52–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52int ErasureCodeShec::init(ErasureCodeProfile &profile,
53 ostream *ss)
54{
55 int err = 0;
56 err |= parse(profile);
57 if (err)
58 return err;
59 prepare();
60 return ErasureCode::init(profile, ss);
61}
62
63unsigned int ErasureCodeShec::get_chunk_size(unsigned int stripe_width) const
64{

Callers 1

factoryMethod · 0.45

Calls 3

prepareFunction · 0.85
parseFunction · 0.50
initFunction · 0.50

Tested by

no test coverage detected