Skip to content
Permalink
Browse files
MDEV-18115 redo log is not affected by srv_file_flush_method anymore
  • Loading branch information
kevgs committed Jan 9, 2020
1 parent 3a3605f commit 314a14f
Showing 1 changed file with 0 additions and 7 deletions.
@@ -1104,13 +1104,6 @@ void log_write_up_to(lsn_t lsn, bool flush_to_disk, bool rotate_key)
srv_stats.log_padded.add(pad_size);
log_sys.write_lsn = write_lsn;


if (srv_file_flush_method == SRV_O_DSYNC) {
/* O_SYNC means the OS did not buffer the log file at all:
so we have also flushed to disk what we have written */
log_sys.flushed_to_disk_lsn = log_sys.write_lsn;
}

log_write_mutex_exit();

if (flush_to_disk) {

0 comments on commit 314a14f

Please sign in to comment.