aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/backend/volume_create_linux.go
diff options
context:
space:
mode:
authorustuzhanin <55892859+ustuzhanin@users.noreply.github.com>2020-10-04 19:46:45 +0500
committerGitHub <noreply@github.com>2020-10-04 19:46:45 +0500
commitb3dd0ba446649d3a3fe56dba547585bf18b039b7 (patch)
treefc22104e5b6b0ddd3c41ab02a72b2428130c2363 /weed/storage/backend/volume_create_linux.go
parent3e0a79ef050dba9e5347d20537ef562cc4b30b62 (diff)
parent8c8b8e2835801992ecd75349281637ed8ecb88cd (diff)
downloadseaweedfs-b3dd0ba446649d3a3fe56dba547585bf18b039b7.tar.xz
seaweedfs-b3dd0ba446649d3a3fe56dba547585bf18b039b7.zip
Merge pull request #2 from chrislusf/master
update from upstream
Diffstat (limited to 'weed/storage/backend/volume_create_linux.go')
-rw-r--r--weed/storage/backend/volume_create_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/backend/volume_create_linux.go b/weed/storage/backend/volume_create_linux.go
index 4602831ca..260c2c2a3 100644
--- a/weed/storage/backend/volume_create_linux.go
+++ b/weed/storage/backend/volume_create_linux.go
@@ -16,7 +16,7 @@ func CreateVolumeFile(fileName string, preallocate int64, memoryMapSizeMB uint32
}
if preallocate != 0 {
syscall.Fallocate(int(file.Fd()), 1, 0, preallocate)
- glog.V(0).Infof("Preallocated %d bytes disk space for %s", preallocate, fileName)
+ glog.V(1).Infof("Preallocated %d bytes disk space for %s", preallocate, fileName)
}
return NewDiskFile(file), nil
}