Skip to content

Commit 9928dbe

Browse files
committed
Add SRV_ALL_O_DIRECT_FSYNC to switch(srv_flush_method) in log0log.c.
Also in log_checkpoint(), where fil_flush_file_spaces() was not done on Windows, it is not done.
1 parent a98009a commit 9928dbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

storage/innobase/log/log0log.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,7 @@ log_io_complete(
950950
case SRV_LITTLESYNC:
951951
case SRV_O_DIRECT:
952952
case SRV_O_DIRECT_NO_FSYNC:
953+
case SRV_ALL_O_DIRECT_FSYNC:
953954
fil_flush(group->space_id);
954955
}
955956

@@ -1772,6 +1773,7 @@ log_checkpoint(
17721773
case SRV_LITTLESYNC:
17731774
case SRV_O_DIRECT:
17741775
case SRV_O_DIRECT_NO_FSYNC:
1776+
case SRV_ALL_O_DIRECT_FSYNC:
17751777
fil_flush_file_spaces(FIL_TYPE_TABLESPACE);
17761778
}
17771779

0 commit comments

Comments
 (0)