[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: D.J. Heap <dj_at_shadyvale.net>
Date: 2004-05-01 18:50:14 CEST

Josh Pieper wrote:
> Ok, included is a newer version of the patch that fixes up the
> concerns that everyone had I think. Does this look alright?
> -Josh
> --------------------
> Add a new function in svn_io, svn_io_file_flush_to_disk, which flushes
> all data written to a file to disk. On Unix like systems, this
> equates to fsync, for Win32, FlushFileBuffers is used.

Looks good to me and it compiles.

I'm having some trouble with fs-type=fsfs. I don't think it's related
to this patch, though. Attempting an import I get:

D:\Temp>svn import \Projects\CSTest svn://localhost/repo/CSTest -m test
Adding \Projects\CSTest\MainFrm.h
Adding \Projects\CSTest\stdafx.h
Adding \Projects\CSTest\CSTestView.cpp
Adding \Projects\CSTest\CSTestDoc.cpp
Adding \Projects\CSTest\Resource.h
Adding \Projects\CSTest\ChildFrm.h
svn: Can't move 'D:/Temp/repo/db/current.tmp' to
'D:/Temp/repo/db/current': Access is denied.

It did appear to go through the retry code and I'm the only one on this
test repo -- it appears as though current or current.tmp is being left open?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 1 18:50:34 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.