[Python-Dev] Ext4 data loss

Antoine Pitrou solipsis at pitrou.net
Thu Mar 12 11:39:26 CET 2009


Nick Coghlan <ncoghlan <at> gmail.com> writes:
> 
> On the performance side... the overhead from fsync() itself is going to
> dwarf the CPU overhead of going through a wrapper class.

The significant overhead is not in calling sync() or flush() or close(), but in
calling methods which are supposed to be fast (read() from internal buffer or
write() to internal buffer, for example).




More information about the Python-Dev mailing list