[MDEV-4398] use fallocate in InnoDB in 10.0 Created: 2013-04-16  Updated: 2013-04-30  Resolved: 2013-04-30

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: 10.0.2, 10.0.3

Type: Task Priority: Major
Reporter: Sergei Golubchik Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

fallocate code is currently disabled in InnoDB in 10.0, because it triggers an assert. This needs to be fixed.



 Comments   
Comment by Sergei Golubchik [ 2013-04-16 ]

now it's disabled in 10.0-base (or 5.5?) but incorrectly.
in 10.0 it's an assert - the feature is surely broken and needs to be disabled unconditionally until fixed.
but in 5.5/10.0-base it only fails with O_DIRECT on old kernels. which means in other configurations it works. So it should not be disabled in the code, but only turned off by default (until fixed), so that users could enable it where appropriate.

Comment by Vladislav Vaintroub [ 2013-04-30 ]

Fix was already in 10.0.2, just bug was not closed.

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