summaryrefslogtreecommitdiff
path: root/innobase/include/srv0srv.h
diff options
context:
space:
mode:
authorheikki@donna.mysql.fi <>2001-05-23 18:04:49 +0300
committerheikki@donna.mysql.fi <>2001-05-23 18:04:49 +0300
commit587df0036ac74147c62a8190b6ad523ec51f3670 (patch)
treec1ad23c161d316af10c275cad5f8b15f58e28c86 /innobase/include/srv0srv.h
parent86eda127f780401ecd9d51e23f01ee984e1a5cf5 (diff)
downloadmariadb-git-587df0036ac74147c62a8190b6ad523ec51f3670.tar.gz
srv0srv.h One can now specify innodb_unix_file_flush_method in my.cnf
srv0srv.c One can now specify innodb_unix_file_flush_method in my.cnf srv0start.c One can now specify innodb_unix_file_flush_method in my.cnf ha_innobase.cc One can now specify innodb_unix_file_flush_method in my.cnf ha_innobase.h One can now specify innodb_unix_file_flush_method in my.cnf mysqld.cc One can now specify innodb_unix_file_flush_method in my.cnf
Diffstat (limited to 'innobase/include/srv0srv.h')
-rw-r--r--innobase/include/srv0srv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/innobase/include/srv0srv.h b/innobase/include/srv0srv.h
index 8853745926d..26164e2ccdc 100644
--- a/innobase/include/srv0srv.h
+++ b/innobase/include/srv0srv.h
@@ -48,6 +48,9 @@ extern dulint srv_archive_recovery_limit_lsn;
extern ulint srv_lock_wait_timeout;
+extern char* srv_unix_file_flush_method_str;
+extern ulint srv_unix_file_flush_method;
+
extern ibool srv_set_thread_priorities;
extern int srv_query_thread_priority;
@@ -100,6 +103,13 @@ typedef struct srv_sys_struct srv_sys_t;
/* The server system */
extern srv_sys_t* srv_sys;
+/* Alternatives for fiel flush option in Unix; see the InnoDB manual about
+what these mean */
+#define SRV_UNIX_FDATASYNC 1
+#define SRV_UNIX_O_DSYNC 2
+#define SRV_UNIX_LITTLESYNC 3
+#define SRV_UNIX_NOSYNC 4
+
/*************************************************************************
Boots Innobase server. */