-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Darwinhelp wanted
Milestone
Description
What version of Go?
1.10 or tip
What operating system and processor architecture?
darwin, *
What is the matter?
According to this and other sites, fcntl(fd, F_FULLFSYNC) is necessary for proper fsync on MacOS (OS X): https://danluu.com/file-consistency/
Github search finds no uses of "F_FULLFSYNC" in the src tree.
If there is a rationale for the present implementation, it should be documented in File.Sync() with directions on how to invoke the fcntl variant.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Darwinhelp wanted