diff --git a/curvefs/src/client/s3/client_s3_adaptor.cpp b/curvefs/src/client/s3/client_s3_adaptor.cpp index 66dc283b04..d3470f719d 100644 --- a/curvefs/src/client/s3/client_s3_adaptor.cpp +++ b/curvefs/src/client/s3/client_s3_adaptor.cpp @@ -117,8 +117,8 @@ int S3ClientAdaptorImpl::Write(uint64_t inodeId, uint64_t offset, uint64_t size = fsCacheManager_->GetDataCacheSize(); uint64_t maxSize = fsCacheManager_->GetDataCacheMaxSize(); if ((size + pendingReq * fuseMaxSize_) >= maxSize) { - LOG(INFO) << "write cache is full, wait flush. size:" << size - << ", maxSize:" << maxSize; + VLOG(6) << "write cache is full, wait flush. size: " << size + << ", maxSize:" << maxSize; // offer to do flush waitInterval_.StopWait(); fsCacheManager_->WaitFlush(); @@ -136,8 +136,8 @@ int S3ClientAdaptorImpl::Write(uint64_t inodeId, uint64_t offset, if (needSleep) { uint32_t exponent = pow(2, (exceedRatio) / 10); bthread_usleep(throttleBaseSleepUs_ * exceedRatio * exponent); - LOG(INFO) << "write cache is nearfull and use ratio is: " - << memCacheRatio << ", exponent is: " << exponent; + VLOG(6) << "write cache nearfull and use ratio is: " + << memCacheRatio << ", exponent is: " << exponent; } } int ret = fileCacheManager->Write(offset, length, buf); diff --git a/curvefs/src/client/s3/disk_cache_manager_impl.cpp b/curvefs/src/client/s3/disk_cache_manager_impl.cpp index 88e8a739f4..6624abae15 100644 --- a/curvefs/src/client/s3/disk_cache_manager_impl.cpp +++ b/curvefs/src/client/s3/disk_cache_manager_impl.cpp @@ -95,7 +95,7 @@ int DiskCacheManagerImpl::WriteDiskFile(const std::string name, const char *buf, VLOG(9) << "write name = " << name << ", length = " << length; // if cache disk is full if (diskCacheManager_->IsDiskCacheFull()) { - VLOG(3) << "write disk file fail, disk full."; + VLOG(6) << "write disk file fail, disk full."; return -1; } // write to cache disk @@ -126,7 +126,7 @@ int DiskCacheManagerImpl::WriteDiskFile(const std::string name, const char *buf, int DiskCacheManagerImpl::WriteReadDirect(const std::string fileName, const char *buf, uint64_t length) { if (diskCacheManager_->IsDiskCacheFull()) { - VLOG(3) << "write disk file fail, disk full."; + VLOG(6) << "write disk file fail, disk full."; return -1; } int ret = diskCacheManager_->WriteReadDirect(fileName, buf, length);