diff options
author | Eugene Kosov <claprix@yandex.ru> | 2020-01-09 22:45:46 +0700 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2020-01-09 22:45:46 +0700 |
commit | 314a14f20d3ab747a3ed186b2f19b29b43dff4e8 (patch) | |
tree | 146d116d8a0bab9395ffb861ac485c96301a7779 /storage/innobase/log/log0log.cc | |
parent | 3a3605f4b1ad08bbcb823cd41b724f2def9f2ba3 (diff) | |
download | mariadb-git-314a14f20d3ab747a3ed186b2f19b29b43dff4e8.tar.gz |
MDEV-18115 redo log is not affected by srv_file_flush_method anymore
Diffstat (limited to 'storage/innobase/log/log0log.cc')
-rw-r--r-- | storage/innobase/log/log0log.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/storage/innobase/log/log0log.cc b/storage/innobase/log/log0log.cc index 944333a263a..42af21f3d9f 100644 --- a/storage/innobase/log/log0log.cc +++ b/storage/innobase/log/log0log.cc @@ -1104,13 +1104,6 @@ loop: 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) { |