[issue3517] PATCH - Providing fullfsync on supported platforms

2008-08-07 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Thanks, checked into the trunk as r65581. -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3517] PATCH - Providing fullfsync on supported platforms

2008-08-07 Thread Ian Charnas
Ian Charnas <[EMAIL PROTECTED]> added the comment: Sounds fair enough. I was looking forward to the glitz and glamor of the os module, but I'll settle for a good seat in fcntl. Here's a patch implementing just that. -ian Added file: http://bugs.python.org/file11074/fullfsync_fcntl.patch

[issue3517] PATCH - Providing fullfsync on supported platforms

2008-08-07 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: I'm sorry to have lead you this way, but since there is no fullfsync() system call, IMO you should just make the F_FULLFSYNC constant available. That should go into fcntlmodule.c. -- nosy: +gvanrossum _

[issue3517] PATCH - Providing fullfsync on supported platforms

2008-08-07 Thread Ian Charnas
New submission from Ian Charnas <[EMAIL PROTECTED]>: Python currently provides os.fsync to call the POSIX 'fsync' on platforms that support it. While this function forces the operating system to force a file buffer to the storage device, data may still be waiting in the hardware write buffers on