summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Naumov <dnaumov@paladyne.com>2013-05-23 13:23:37 +0400
committerTad Marshall <tad@10gen.com>2013-06-05 02:25:49 -0400
commit54e11a3cfa5de27351da1c9c55d539b3b17a0b00 (patch)
tree88a3d99ed9720196ceb862dccd6d6ef8dbac6fb9 /src
parent9cb96a3e348f41261693fc386bfc2f4a65c32982 (diff)
downloadmongo-54e11a3cfa5de27351da1c9c55d539b3b17a0b00.tar.gz
SERVER-9754 Remove FILE_FLAG_WRITE_THROUGH for journal files
Signed-off-by: Tad Marshall <tad@10gen.com>
Diffstat (limited to 'src')
-rw-r--r--src/mongo/util/logfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/logfile.cpp b/src/mongo/util/logfile.cpp
index 23b3b597e19..d3fcde359ce 100644
--- a/src/mongo/util/logfile.cpp
+++ b/src/mongo/util/logfile.cpp
@@ -64,7 +64,7 @@ namespace mongo {
FILE_SHARE_READ,
NULL,
OPEN_ALWAYS,
- FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH,
+ FILE_FLAG_NO_BUFFERING,
NULL);
if( _fd == INVALID_HANDLE_VALUE ) {
DWORD e = GetLastError();