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

Re: Efficient and effective fsync during commit

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 29 May 2015 20:51:47 +0200

On 29.05.2015 17:55, Stefan Fuhrmann wrote:
> If you assume / suspect that FlushFileBuffers() only operates on the
> open handle, i.e. only flushes those changes made through that thandle,

From my dabbling with the Windows I/O stack and filesystems way back,
I'd say that flushing (and all other operations, really) are per-FCB.
The FCB (file control block) is a per-open-file unique structure deep in
the I/O stack that all file handles refer to. Any file handle that has
the necessary access and sharing rights to flush the file cache will
affect the cache state for all other file handles.

-- Brane
Received on 2015-05-29 20:53:29 CEST

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.