[issue11877] Mac OS X fsync() should really be fcntl(F_FULLFSYNC)

Charles-Francois Natali report at bugs.python.org
Wed Apr 20 14:50:25 CEST 2011


Charles-Francois Natali <neologix at free.fr> added the comment:

> in particular: linux doesn't guarantee that data gets writting to the disk when you call fsync, only that the data gets pushed to the storage device.

Barriers are now enable by default in EXT4, and Theodore Tso has been favourable to that for quite some time now:
http://lwn.net/Articles/283288/

As for OS-X, this is definitely a bug (I mean, having to call fsync before mmap is a huge bug in itself).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11877>
_______________________________________


More information about the Python-bugs-list mailing list