diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-07-13 00:17:02 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-07-13 00:17:02 +0300 |
commit | bc479783c49410519b1f5fb21da8aa7b9743677d (patch) | |
tree | dd4bd3a2c0f22eb744039a469de67edcec8f5ad9 /innobase/include/os0file.h | |
parent | 91eb7ce1621cbf821132633b3b2e5216bd5751a4 (diff) | |
download | mariadb-git-bc479783c49410519b1f5fb21da8aa7b9743677d.tar.gz |
srv0start.c, srv0srv.h, os0file.h, os0file.c:
Allow also O_DIRECT as innodb_flush_method; it only affects writing to data files
innobase/os/os0file.c:
Allow also O_DIRECT as innodb_flush_method; it only affects writing to data files
innobase/include/os0file.h:
Allow also O_DIRECT as innodb_flush_method; it only affects writing to data files
innobase/include/srv0srv.h:
Allow also O_DIRECT as innodb_flush_method; it only affects writing to data files
innobase/srv/srv0start.c:
Allow also O_DIRECT as innodb_flush_method; it only affects writing to data files
Diffstat (limited to 'innobase/include/os0file.h')
-rw-r--r-- | innobase/include/os0file.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/innobase/include/os0file.h b/innobase/include/os0file.h index 1ec8b71d069..5c52f0e92bf 100644 --- a/innobase/include/os0file.h +++ b/innobase/include/os0file.h @@ -175,7 +175,11 @@ os_file_create( file is created (if exists, error), OS_FILE_OVERWRITE if a new file is created or an old overwritten */ ulint purpose,/* in: OS_FILE_AIO, if asynchronous, non-buffered i/o - is desired, OS_FILE_NORMAL, if any normal file */ + is desired, OS_FILE_NORMAL, if any normal file; + NOTE that it also depends on type, os_aio_.. and srv_.. + variables whether we really use async i/o or + unbuffered i/o: look in the function source code for + the exact rules */ ulint type, /* in: OS_DATA_FILE or OS_LOG_FILE */ ibool* success);/* out: TRUE if succeed, FALSE if error */ /*************************************************************************** |