Skip to content

Conversation

@darkain
Copy link

@darkain darkain commented Mar 23, 2015

When attempting to posix_fallocate on an OS where this system call isn't implemented, the entire startup process of MySQL fails with "File preallocation failed" instead of falling back to the write_file alternative. This fixes that issue.

When attempting to posix_fallocate on an OS where this system call isn't implemented, the entire startup process of MySQL fails with "File preallocation failed" instead of falling back to the write_file alternative. This fixes that issue.
ayurchen added a commit that referenced this pull request Mar 23, 2015
Fix for ENOSYS error on posix_fallocate
@ayurchen ayurchen merged commit 7c9aead into mariadb-corporation:master Mar 23, 2015
@ayurchen
Copy link
Contributor

Thanks! Which OS did you get it on, btw?

@darkain
Copy link
Author

darkain commented Mar 23, 2015

We were using SmartOS with their new Branded Zones feature. More specifically, we were using a Debian Branded Zone.

https://wiki.smartos.org/display/DOC/LX+Branded+Zones

ayurchen added a commit that referenced this pull request Mar 31, 2015
Fix for ENOSYS error on posix_fallocate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants