Commit 34fb8fe1 authored by David COME's avatar David COME
Browse files

Added a log after opening a file for disk Reading into DiskReadTask

parent e36e5cf4
......@@ -57,6 +57,8 @@ namespace daemon {
size_t migratingFileSize=m_migratedFile->fileSize();
try{
tape::diskFile::ReadFile sourceFile(m_migratedFile->path());
log::LogContext::ScopedParam sp(lc, log::Param("filePath",m_migratedFile->path()));
lc.log(LOG_INFO,"Opened file on disk for migration ");
while(migratingFileSize>0){
MemBlock* const mb = m_nextTask.getFreeBlock();
AutoPushBlock push(mb,m_nextTask);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment