aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/backend
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-04 01:35:32 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-04 01:35:32 -0700
commitd522df0ecd162b414781eb8c0da119f90599107c (patch)
tree5a97b27936742a673f6f82b41fb546a05943b228 /weed/storage/backend
parent666859f7cd700ce10c8569a4093ff77b30c61090 (diff)
downloadseaweedfs-d522df0ecd162b414781eb8c0da119f90599107c.tar.xz
seaweedfs-d522df0ecd162b414781eb8c0da119f90599107c.zip
adjust log level
Diffstat (limited to 'weed/storage/backend')
-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
}