innodb_flush_method variable defines the method used to flush data to InnoDB data files and log files. Detail
fsync()to flush both the data and log files
O_SYNCto open and flush the log filesfsync()to flush the data files
O_DIRECTto open the data filesfsync()to flush both the data and log files