Schouldn't File::sync_all
uselibc::fcntl(fd, libc::F_FULLFSYNC)
on macos/ios
#55920
Labels
O-ios
Operating system: iOS
O-macos
Operating system: macOS
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
As far as I know
fsync
doens't sync data onto disk on macos.(Depending on kernel & file system it might not do so on linux either).
Which is why
sync_data
does usefcntl
on mac forsync_data
and
sync_all
implies syncing data, so shouldn't it use fcntl, too?The text was updated successfully, but these errors were encountered: