using ceph::bufferlist;
namespace ceph {
-const unsigned ErasureCode::SIMD_ALIGN = 32;
+const unsigned ErasureCode::SIMD_ALIGN = 64;
int ErasureCode::init(
ErasureCodeProfile &profile,
}
TEST(BufferList, is_aligned) {
- const int SIMD_ALIGN = 32;
+ const int SIMD_ALIGN = 64;
{
bufferlist bl;
EXPECT_TRUE(bl.is_aligned(SIMD_ALIGN));
}
TEST(BufferList, is_n_align_sized) {
- const int SIMD_ALIGN = 32;
+ const int SIMD_ALIGN = 64;
{
bufferlist bl;
EXPECT_TRUE(bl.is_n_align_sized(SIMD_ALIGN));
}
TEST(BufferList, rebuild_aligned_size_and_memory) {
- const unsigned SIMD_ALIGN = 32;
+ const unsigned SIMD_ALIGN = 64;
const unsigned BUFFER_SIZE = 67;
bufferlist bl;