[MDEV-9833] Log files are opened using O_DIRECT causing problems if block size != 512 Created: 2016-03-30  Updated: 2016-03-30  Resolved: 2016-03-30

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB, Storage Engine - XtraDB
Affects Version/s: 10.1.13
Fix Version/s: 10.1.14

Type: Bug Priority: Critical
Reporter: Jan Lindström (Inactive) Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

Repeated using RAID and strace:

open("./ib_logfile0", O_RDWR)           = 3
fcntl(3, F_SETFL, O_RDONLY|O_DIRECT)    = 0
strace ./mysqld --innodb_flush_method=O_DIRECT >& /tmp/log
read(8, "\0\0\0\0\0\0\4\f\0\0\0\1\6\303\247\326\4\306E\326\1\0\0\0\377\377\377\377\377\377\377\377"..., 512, 512) = 512



 Comments   
Comment by Jan Lindström (Inactive) [ 2016-03-30 ]

commit 4ddb9deaf30bf3be664f3427f0b5393dc5a6c09c

Generated at Thu Feb 08 07:37:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.