diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-01-27 19:06:23 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-01-27 19:07:10 -0500 |
commit | b47ffb84c84bdc57a0b1484415b3a5322925eda2 (patch) | |
tree | 7db20f806ae0f0289fbe0ca8abaccec91978f6f7 /src/mongo/util/processinfo.h | |
parent | c4c0f3b6b849deba4b6ebb31ab13b0b26b626c55 (diff) | |
download | mongo-b47ffb84c84bdc57a0b1484415b3a5322925eda2.tar.gz |
Revert "On Windows platforms code was added to zero-fill each newly allocated data file in order to work around Windows KB http://support.microsoft.com/kb/2731284. The KB only applies for Windows 7 and Windows 2008 Server installations, so there is no need to do it on each and every system."
Breaks Windows build, because VersionHelpers.h is not present with the VC10 compiler/SDK, which we use.
This reverts commit c4c0f3b6b849deba4b6ebb31ab13b0b26b626c55.
Diffstat (limited to 'src/mongo/util/processinfo.h')
-rw-r--r-- | src/mongo/util/processinfo.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/util/processinfo.h b/src/mongo/util/processinfo.h index 13007767dc8..1b1d7620a7e 100644 --- a/src/mongo/util/processinfo.h +++ b/src/mongo/util/processinfo.h @@ -104,12 +104,6 @@ namespace mongo { static bool blockInMemory(const void* start); /** - * This is a OS specific call, which determines whether files should be zero-filled at - * allocation time in order to avoid Microsoft KB 2731284. - */ - static bool isDataFileZeroingNeeded(); - - /** * @return a pointer aligned to the start of the page the provided pointer belongs to. * * NOTE requires blockCheckSupported() == true |