diff options
author | Matt Kangas <matt.kangas@mongodb.com> | 2014-07-29 13:58:49 -0400 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2014-07-29 13:58:49 -0400 |
commit | d7637a71f401f2457db3caca8c8a03d9b46d1ed0 (patch) | |
tree | 7a227a329a76aa31ced40caaeaca11db9b7c2864 /src/mongo/util/mmap_win.cpp | |
parent | 1135d0604c05367fe99ebf6fc0a23ac21e26a558 (diff) | |
download | mongo-d7637a71f401f2457db3caca8c8a03d9b46d1ed0.tar.gz |
SERVER-13681 Revert "SERVER-7378 Prevent WRITETODATAFILES and FlushViewOfFile from running at the same time"
This reverts commit 5352345eda2ffa24a72af1d5bbaccaa32bcb1006
Diffstat (limited to 'src/mongo/util/mmap_win.cpp')
-rw-r--r-- | src/mongo/util/mmap_win.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/util/mmap_win.cpp b/src/mongo/util/mmap_win.cpp index e2f464a4a00..fbea0a2a143 100644 --- a/src/mongo/util/mmap_win.cpp +++ b/src/mongo/util/mmap_win.cpp @@ -483,9 +483,6 @@ namespace mongo { return newPrivateView; } - // prevent WRITETODATAFILES() from running at the same time as FlushViewOfFile() - SimpleMutex globalFlushMutex("globalFlushMutex"); - class WindowsFlushable : public MemoryMappedFile::Flushable { public: WindowsFlushable( MemoryMappedFile* theFile, @@ -516,7 +513,6 @@ namespace mongo { _flushMutex.lock(); } - SimpleMutex::scoped_lock _globalFlushMutex(globalFlushMutex); boost::lock_guard<boost::mutex> lk(_flushMutex, boost::adopt_lock_t()); int loopCount = 0; |