python-dev
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [Python-Dev] Ext4 data loss Hrvoje Niksic Wed Mar 11 11:01:32 2009
Christian Heimes wrote:
Guido van Rossum wrote:Let's not think too Unix-specific. If we add such an API it should do something on Windows too -- the app shouldn't have to test for the presence of the API. (And thus the API probably shouldn't be called fsync.)In my initial proposal one and a half hour earlier I suggested 'sync()' as the name of the method and 'synced' as the name of the flag that forces a fsync() call during the close operation.
Maybe it would make more sense for "synced" to force fsync() on each flush, not only on close. I'm not sure how useful it is, but that's what "synced" would imply to me. Maybe it would be best to avoid having such a variable, and expose a close_sync() method instead?
_______________________________________________ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/alexiscircle%40gmail.com
- Re: [Python-Dev] Ext4 data loss, (continued)
- Re: [Python-Dev] Ext4 data loss Zvezdan Petkovic
- Re: [Python-Dev] Ext4 data loss Martin v. Löwis
- Re: [Python-Dev] Ext4 data loss Zvezdan Petkovic
- Re: [Python-Dev] Ext4 data loss Andrew McNabb
- Re: [Python-Dev] Ext4 data loss Nick Coghlan
- Re: [Python-Dev] Ext4 data loss Eric Smith
- Re: [Python-Dev] Ext4 data loss Antoine Pitrou
- Re: [Python-Dev] Ext4 data loss Eric Smith
- Re: [Python-Dev] Ext4 data loss Steven D'Aprano
- Re: [Python-Dev] [Python-ideas] Ext4 data loss zooko
- Message not available
- Re: [Python-Dev] Ext4 data loss Hrvoje Niksic <=
- Re: [Python-Dev] Ext4 data loss Martin v. Löwis
- Re: [Python-Dev] Ext4 data loss Greg Ewing
- Re: [Python-Dev] Ext4 data loss Martin v. Löwis
- Re: [Python-Dev] Ext4 data loss Antoine Pitrou
- Re: [Python-Dev] Ext4 data loss Cameron Simpson
Re: [Python-Dev] Ext4 data loss Joachim König
- Re: [Python-Dev] Ext4 data loss Cameron Simpson
- Re: [Python-Dev] Ext4 data loss Gisle Aas
Message not available
- Re: [Python-Dev] Ext4 data loss Hrvoje Niksic
Re: [Python-Dev] Ext4 data loss Neil Hodgson