mirror of
https://github.com/ceph/ceph
synced 2025-01-30 23:13:44 +00:00
Merge pull request #3707 from dachary/wip-erasure-code-uninitialized
erasure-code: initialize all data members Reviewed-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
commit
f53daa1c06
@ -51,6 +51,9 @@ public:
|
||||
|
||||
ErasureCodeIsa(const char *_technique,
|
||||
ErasureCodeIsaTableCache &_tcache) :
|
||||
k(0),
|
||||
m(0),
|
||||
w(0),
|
||||
tcache(_tcache),
|
||||
technique(_technique),
|
||||
ruleset_root("default"),
|
||||
|
@ -34,8 +34,11 @@ public:
|
||||
bool per_chunk_alignment;
|
||||
|
||||
ErasureCodeJerasure(const char *_technique) :
|
||||
k(0),
|
||||
DEFAULT_K(2),
|
||||
m(0),
|
||||
DEFAULT_M(1),
|
||||
w(0),
|
||||
DEFAULT_W(8),
|
||||
technique(_technique),
|
||||
ruleset_root("default"),
|
||||
|
Loading…
Reference in New Issue
Block a user