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

Re: FSFS propaganda

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-04-30 21:20:58 CEST

Greg Hudson <ghudson@MIT.EDU> writes:

> This is a known loose end. I would like to add code to fsync the rev
> and prop files before returning from the commit, but APR does not have
> an interface to fsync(), nor could I find a Unix-specific interface to
> get the fd so that I could put a call to fsync() inside #ifndef WIN32.
> I haven't thought of a way to circumvent this problem yet, but hopefully
> there's an option.

You may want to consider using fsync on the directory as well,
particularly if you start to rename files, as I believe this is the
usual way to flush inode data to disk.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 30 21:21:33 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.