-
Notifications
You must be signed in to change notification settings - Fork 58
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
Improve compatibility mode consistency #567
Improve compatibility mode consistency #567
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good with a test. Is it possible to make a file path in testing that cannot be opened with the O_DIRECT
flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
/merge |
This PR adjusts the behavior of the file handle's compatibility mode to make it more consistent with its naming, i.e.
AUTO
actively falls back to the compatibility mode when any GDS step goes wrong;OFF
sticks to the GDS path and errors out when things go wrong.