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

Address issue of falures on ext3 and reiserfs filesystems #64

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

sirwio
Copy link
Contributor

@sirwio sirwio commented Feb 24, 2021

The fallocate operation is failing on e.g. ext3 and reiserf filesystems.
By falling back to use posix_fallocate if the fallocate function call fails
one can keep the performance as is for fallocate supported filesystems but
still support legacy filesystems as ext3 and reiserfs.

This would resolve issue: #46

src/cio_file.c Show resolved Hide resolved
The fallocate operation is failing on e.g. ext3 and reiserf filesystems.
By falling back to use posix_fallocate if the fallocate function call fails
one can keep the performance as is for fallocate supported filesystems but
still support legacy filesystems as ext3 and reiserfs.
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