mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-28 13:31:27 +08:00
remove temp hack
This commit is contained in:
parent
cbd0a98fa1
commit
de5a7e60a2
@ -14,7 +14,6 @@ import (
|
||||
|
||||
func createVolumeFile(fileName string, preallocate int64, useMemoryMap bool) (*os.File, error) {
|
||||
|
||||
useMemoryMap = true
|
||||
mMap, exists := memory_map.FileMemoryMap[fileName]
|
||||
if !exists {
|
||||
file, e := os_overloads.OpenFile(fileName, windows.O_RDWR|windows.O_CREAT, 0644, useMemoryMap)
|
||||
|
Loading…
Reference in New Issue
Block a user