> -----Original Message-----
> From: Vasil Dimov [mailto:vasil.dimov@stripped]
> Sent: Monday, February 09, 2009 11:50 AM
> To: Ivan Novick
> Cc: 'MARK CALLAGHAN'; internals@stripped
> Subject: Re: innodb_flush_method
> InnoDB does fsync() with every write by default. The typical code path
> for this is buf_flush_buffered_writes() -> fil_flush_file_spaces() ->
> fil_flush() -> os_file_flush().
Ok, I see, thanks guys! There was an ifdef'd out flush call in the
os_file_write functions that was distracting me, but I didn't realize that a
higher level in fil module there is a call to flush after writing the data.