Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for ENOSYS error on posix_fallocate #253

Merged
merged 1 commit into from Mar 23, 2015
Merged

Fix for ENOSYS error on posix_fallocate #253

merged 1 commit into from Mar 23, 2015

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 codership:master Mar 23, 2015
@ayurchen
Copy link
Member

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.

None yet

2 participants