diff options
author | unknown <heikki@donna.mysql.fi> | 2001-07-20 19:01:23 +0300 |
---|---|---|
committer | unknown <heikki@donna.mysql.fi> | 2001-07-20 19:01:23 +0300 |
commit | 48f40550f462e1a258682a5cc85f22ac8955f095 (patch) | |
tree | 91b2e2068bc3a1f74126c0dc1f8bd1c3d3f62199 /innobase/os | |
parent | 495c59d4b006ef90652bf579dbc1816dbb297786 (diff) | |
download | mariadb-git-48f40550f462e1a258682a5cc85f22ac8955f095.tar.gz |
dict0dict.ic Remove acquisition of the dictionary mutex: this may fix the hang observed by Peter Zaitsev
os0file.c Use O_SYNC instead of O_DSYNC because in Linux there may be a bug
innobase/os/os0file.c:
Use O_SYNC instead of O_DSYNC because in Linux there may be a bug
innobase/include/dict0dict.ic:
Remove acquisition of the dictionary mutex: this may fix the hang observed by Peter Zaitsev
Diffstat (limited to 'innobase/os')
-rw-r--r-- | innobase/os/os0file.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index 668d74d75b5..d3c6232031a 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -347,9 +347,12 @@ try_again: UT_NOT_USED(purpose); -#ifdef O_DSYNC + /* Currently use only O_SYNC because there may be a bug in + Linux O_DSYNC! */ + +#ifdef O_SYNC if (srv_unix_file_flush_method == SRV_UNIX_O_DSYNC) { - create_flag = create_flag | O_DSYNC; + create_flag = create_flag | O_SYNC; } #endif if (create_mode == OS_FILE_CREATE) { |