diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-24 13:21:38 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-24 13:21:38 +0200 |
commit | b117af5b5447e589be05574cce35106a31ca14f9 (patch) | |
tree | a3a667383859423e05f9e03d276d0484c53fc38f | |
parent | c8ce858f39c3332ed33ebe0fe9fdf7c9e68ed364 (diff) |
Do not enforce sync unless requested.
-rw-r--r-- | fastos/src/vespa/fastos/unix_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |