diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2018-06-29 22:18:47 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2018-06-29 22:18:47 +0100 |
commit | 84d7df16c020eebb972280c5f406575f837ec75c (patch) | |
tree | b497955f000c61998ad946259dca7c8cb89e4c6a /include/sslopt-vars.h | |
parent | 47510ebbdcdf9841f3b76c1b433fc0e962a098dc (diff) | |
download | mariadb-git-bb-10.3-findgssapi.tar.gz |
MDEV-16596 : Windows - redo log does not work on native 4K sector disks.bb-10.3-findgssapi
Disks with native 4K sectors need 4K alignment and size for unbuffered IO
(i.e files opened with FILE_FLAG_NO_BUFFERING)
Innodb opens redo log with FILE_FLAG_NO_BUFFERING, but it does 512byte IOs
Thus, the IO fails, and Innodb is non-functional.
The fix is to check whether OS_FILE_LOG_BLOCK_SIZE is multiple of logical
sector size, and if it is not, reopen the redo log without
FILE_FLAG_NO_BUFFERING flag.
Diffstat (limited to 'include/sslopt-vars.h')
0 files changed, 0 insertions, 0 deletions