summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-03-10 19:01:14 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-03-10 19:07:07 +0000
commit7c512138a19abd4d8e8761b1f0eb2bd8c9809a28 (patch)
tree17bc8fdd94f60a79fdffe14371815933f30db8e9
parenta20340cf859ba1b10174d4b8ee002d1548bf102c (diff)
downloadmariadb-git-7c512138a19abd4d8e8761b1f0eb2bd8c9809a28.tar.gz
Revert MySQL commit that disables writing on Windows while flush is in progress
Reason : after running sysbench tests (rw,update_no_index), in all cases the throughout was considerably (approx 15%) better with the patch removed. Reverted commit info commit 8dc03bee3ade2edcc53a3a257346f4a0a9f0b44c Author: Yasufumi Kinoshita <yasufumi.kinoshita@oracle.com> Date: Wed Nov 20 17:02:24 2013 +0900 Bug #17824101 : WL#7050 CAUSES RW PERFORMANCE REGRESSION AT SOME WINDOWS ENVIRONMENT
-rw-r--r--storage/innobase/log/log0log.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/storage/innobase/log/log0log.cc b/storage/innobase/log/log0log.cc
index 9c96eeec742..1a122b815a6 100644
--- a/storage/innobase/log/log0log.cc
+++ b/storage/innobase/log/log0log.cc
@@ -1280,16 +1280,6 @@ loop:
return;
}
-#ifdef _WIN32
- /* write requests during fil_flush() might not be good for Windows */
- if (log_sys->n_pending_flushes > 0
- || !os_event_is_set(log_sys->flush_event)) {
- log_write_mutex_exit();
- os_event_wait(log_sys->flush_event);
- goto loop;
- }
-#endif /* _WIN32 */
-
/* If it is a write call we should just go ahead and do it
as we checked that write_lsn is not where we'd like it to
be. If we have to flush as well then we check if there is a