On 1 Jun 2009, at 3:38am, Olaf Schmidt wrote:

> Is fsync() somehow "messed up" on linux currently?

Correct.  Read the man page.  It doesn't do what most people think it  
does.  Nor does sync as the man page for sync explains.

The only way, under most setups, to get all changes to the disk  
surface is to do no reads or writes for a couple of seconds.  This  
gives everything in the data path a chance to write all its caches to  
the next level of hardware.  That's what the pause between the  
commands in 'sync sync halt' does: do nothing for a while.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to