List:Internals« Previous MessageNext Message »
From:Ivan Novick Date:February 9 2009 11:22pm
Subject:RE: innodb_flush_method
View as plain text  
> -----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
> Ivan,
> 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.

Ivan Novick

innodb_flush_methodIvan Novick4 Feb
  • Re: innodb_flush_methodMARK CALLAGHAN4 Feb
    • RE: innodb_flush_methodIvan Novick5 Feb
      • Re: innodb_flush_methodVasil Dimov9 Feb
        • RE: innodb_flush_methodIvan Novick10 Feb