Skip to content
Snippets Groups Projects
Commit 80608182 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Add a workaround for open(2) with O_CREATE | O_DIRECT on Linux

open(, O_CREAT | O_DIRECT, ) creates a file and then fails with
EINVAL in case if the underlying filesystem doesn't support O_DIRECT.
This behaviour is stupid and unexpected.
parent aec4f5e8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment