Commit 9928dbe5 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

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.
parent a98009ab
...@@ -950,6 +950,7 @@ log_io_complete( ...@@ -950,6 +950,7 @@ log_io_complete(
case SRV_LITTLESYNC: case SRV_LITTLESYNC:
case SRV_O_DIRECT: case SRV_O_DIRECT:
case SRV_O_DIRECT_NO_FSYNC: case SRV_O_DIRECT_NO_FSYNC:
case SRV_ALL_O_DIRECT_FSYNC:
fil_flush(group->space_id); fil_flush(group->space_id);
} }
...@@ -1772,6 +1773,7 @@ log_checkpoint( ...@@ -1772,6 +1773,7 @@ log_checkpoint(
case SRV_LITTLESYNC: case SRV_LITTLESYNC:
case SRV_O_DIRECT: case SRV_O_DIRECT:
case SRV_O_DIRECT_NO_FSYNC: case SRV_O_DIRECT_NO_FSYNC:
case SRV_ALL_O_DIRECT_FSYNC:
fil_flush_file_spaces(FIL_TYPE_TABLESPACE); fil_flush_file_spaces(FIL_TYPE_TABLESPACE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment