aboutsummaryrefslogtreecommitdiff
path: root/zenstore
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore')
-rw-r--r--zenstore/compactcas.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index 25ba497ad..684a91233 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -56,20 +56,6 @@ namespace {
#endif
}
- void PreAllocateBlockSize(void* FileHandle, uint64_t Size)
- {
-#if ZEN_PLATFORM_WINDOWS
- FILE_ALLOCATION_INFO info;
- info.AllocationSize.QuadPart = Size; // 100GB
- BOOL Success = SetFileInformationByHandle(FileHandle, FileAllocationInfo, &info, sizeof(info));
- if (!Success)
- {
- ZEN_WARN("Failed set allocated size for '{}': '{}'", PathFromHandle(FileHandle), GetLastErrorAsString());
- }
-#elif ZEN_PLATFORM_LINUX || ZEN_PLATFORM_MAC
-#endif
- }
-
} // namespace
struct CasContainerStrategy::ChunkBlock