From 0ccfc6d389ec8677bff0de0798ef4f7f5312d5ee Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Thu, 12 May 2016 11:34:42 +0200
Subject: MySQL: set flush InnoDB flush method to 'O_DIRECT'

---
 roles/common-SQL/files/etc/mysql/my.cnf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/roles/common-SQL/files/etc/mysql/my.cnf b/roles/common-SQL/files/etc/mysql/my.cnf
index 909236d..c5c9454 100644
--- a/roles/common-SQL/files/etc/mysql/my.cnf
+++ b/roles/common-SQL/files/etc/mysql/my.cnf
@@ -97,7 +97,9 @@ max_binlog_size		= 100M
 #
 # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
 # Read the manual for more InnoDB related options. There are many!
-#
+
+innodb_flush_method = O_DIRECT
+
 # * Security Features
 #
 # Read the manual, too, if you want chroot!
-- 
cgit v1.2.3