aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/backend/volume_create_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/backend/volume_create_linux.go')
-rw-r--r--weed/storage/backend/volume_create_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/storage/backend/volume_create_linux.go b/weed/storage/backend/volume_create_linux.go
index 2e52cce1b..2319c8c5b 100644
--- a/weed/storage/backend/volume_create_linux.go
+++ b/weed/storage/backend/volume_create_linux.go
@@ -7,7 +7,7 @@ import (
"os"
"syscall"
- "github.com/seaweedfs/seaweedfs/weed/glog"
+ "github.com/seaweedfs/seaweedfs/weed/util/log"
)
func CreateVolumeFile(fileName string, preallocate int64, memoryMapSizeMB uint32) (BackendStorageFile, error) {
@@ -17,7 +17,7 @@ func CreateVolumeFile(fileName string, preallocate int64, memoryMapSizeMB uint32
}
if preallocate != 0 {
syscall.Fallocate(int(file.Fd()), 1, 0, preallocate)
- glog.V(1).Infof("Preallocated %d bytes disk space for %s", preallocate, fileName)
+ log.V(2).Infof("Preallocated %d bytes disk space for %s", preallocate, fileName)
}
return NewDiskFile(file), nil
}