[New-bugs-announce] [issue39640] fall back os.fdatasync() to fsync() on POSIX systems without fdatasync() support
George Melikov
report at bugs.python.org
Sat Feb 15 14:06:08 EST 2020
New submission from George Melikov <mail at gmelikov.ru>:
POSIX fdatasync() is similar to fsync() but it tries not to sync non-needed metadata. If POSIX OS doesn't have it - it's safe to use fsync() (If we need to sync data to disk - we have to use one of these functions).
This change will help to run code with fdatasync() on MacOS without fallbacks in Python code.
I'll propose a PR soon.
----------
components: IO
messages: 362025
nosy: gmelikov
priority: normal
severity: normal
status: open
title: fall back os.fdatasync() to fsync() on POSIX systems without fdatasync() support
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39640>
_______________________________________
More information about the New-bugs-announce
mailing list