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

Use fcntl(F_FLUSHFSYNC) on OSX and make FlushAsync() to behave like Flush(false) on Unix #44443

Merged
4 commits merged into from
Nov 11, 2020

Conversation

jozkee
Copy link
Member

@jozkee jozkee commented Nov 10, 2020

Fixes #28444

@jozkee jozkee added this to the 6.0.0 milestone Nov 10, 2020
@jozkee jozkee self-assigned this Nov 10, 2020
@jozkee jozkee changed the title Use fcntl(F_FLUSHFSYNC) on OSX and make FlushAsync to behave like Flush on Unix Use fcntl(F_FLUSHFSYNC) on OSX and make FlushAsync() to behave like Flush(false) on Unix Nov 10, 2020
@jozkee jozkee requested a review from marek-safar as a code owner November 10, 2020 02:08
Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than my FlushAsyncInternal comment, LGTM. Thanks.

@ghost
Copy link

ghost commented Nov 11, 2020

Hello @jozkee!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 4a8cddb into dotnet:master Nov 11, 2020
@jozkee jozkee deleted the flush_fullfsync branch November 11, 2020 23:51
@ghost ghost locked as resolved and limited conversation to collaborators Dec 12, 2020
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileStream.Flush(true) doesn't flush device buffer on macOS, while it does so on Windows
3 participants