summaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-04-24 13:21:38 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-04-24 13:21:38 +0200
commitb117af5b5447e589be05574cce35106a31ca14f9 (patch)
treea3a667383859423e05f9e03d276d0484c53fc38f /fastos
parentc8ce858f39c3332ed33ebe0fe9fdf7c9e68ed364 (diff)
Do not enforce sync unless requested.
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/unix_file.cpp2
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) {