Changed the message level(ERR to INFO) of skip cleanup cache (#1946)

This commit is contained in:
Takeshi Nakatani 2022-05-22 14:36:56 +09:00 committed by GitHub
parent a30beded1c
commit d75c6d6538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -816,7 +816,7 @@ void FdManager::CleanupCacheDirInternal(const std::string &path)
}else{
AutoLock auto_lock(&FdManager::fd_manager_lock, AutoLock::NO_WAIT);
if (!auto_lock.isLockAcquired()) {
S3FS_PRN_ERR("could not get fd_manager_lock when clean up file(%s)", next_path.c_str());
S3FS_PRN_INFO("could not get fd_manager_lock when clean up file(%s), then skip it.", next_path.c_str());
continue;
}
fdent_map_t::iterator iter = fent.find(next_path);