Actions
Bug #9536
closederasure-code: ISA plugin alignment must be constant
% Done:
80%
Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
28c2b6e4f2bc6d77b9150fcf9a917d85c69c9ed1
EC_ISA_VECTOR_OP_WORDSIZE depends on the compiler version and other compile time facts. It is used to compute the chunck size via the get_alignment() function. It is therefore possible that two isa binaries will come up with different chunk sizes because they were compiled in different environment. This in turn will lead to OSDs disagreeing on the chunk size.
The simpler fix is to use a constant, unless this is problematic for some reason.
Actions