[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RFC: svn_io_file_flush_to_disk

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-05-01 17:55:35 CEST

On Sat, 2004-05-01 at 09:56, Branko ╚ibej wrote:
> Of course, on Windows it would be much better if APR knew how to open
> the file with FILE_FLAG_WRITETHROUGH...perhaps another flag to
> apr_file_open that would cause apr_file_close to call fsync on Unix, but
> open the file in writethrough mode on Windows?

Is that really best? That sounds like the analog of calling fsync()
after every buffer flush on Unix; given that we're writing a potentially
large file, that seems much less efficient than syncing once at the end.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 1 17:55:58 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.