mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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 a new issue