From b117af5b5447e589be05574cce35106a31ca14f9 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Mon, 24 Apr 2017 13:21:38 +0200 Subject: Do not enforce sync unless requested. --- fastos/src/vespa/fastos/unix_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastos/src/vespa/fastos/unix_file.cpp b/fastos/src/vespa/fastos/unix_file.cpp index 55ecbcee939..bbf95d3370e 100644 --- a/fastos/src/vespa/fastos/unix_file.cpp +++ b/fastos/src/vespa/fastos/unix_file.cpp @@ -143,7 +143,7 @@ FastOS_UNIX_File::CalcAccessFlags(unsigned int openFlags) #endif if ((openFlags & FASTOS_FILE_OPEN_DIRECTIO) != 0) { - accessFlags |= O_DIRECT | O_DSYNC | O_RSYNC; + accessFlags |= O_DIRECT; } if ((openFlags & FASTOS_FILE_OPEN_TRUNCATE) != 0) { -- cgit v1.2.3