4k MEM_ALIGNMENT

This commit is contained in:
Vitaliy Filippov
2022-02-05 17:03:37 +03:00
parent 36f352f06f
commit d6b0d29af6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
// Memory alignment for direct I/O (usually 512 bytes)
// All other alignments must be a multiple of this one
#ifndef MEM_ALIGNMENT
#define MEM_ALIGNMENT 512
#define MEM_ALIGNMENT 4096
#endif
// Default block size is 128 KB, current allowed range is 4K - 128M
+1 -1
View File
@@ -8,7 +8,7 @@
#include "osd_id.h"
#ifndef MEM_ALIGNMENT
#define MEM_ALIGNMENT 512
#define MEM_ALIGNMENT 4096
#endif
struct buf_len_t