Commit bb95d377 authored by David COME's avatar David COME
Browse files

Added namespaces

parent db569b2b
......@@ -34,6 +34,11 @@
#include <iostream>
#include <stdio.h>
namespace castor {
namespace tape {
namespace tapeserver {
namespace daemon {
class TapeWriteSingleThread : public TapeSingleThreadInterface<TapeWriteTask> {
public:
TapeWriteSingleThread(castor::tape::drives::DriveInterface & drive, MigrationReportPacker & repPacker,
......@@ -49,7 +54,7 @@ private:
TapeWriteTask * task = m_tasks.pop();
bool end = task->endOfWork();
if (!end) task->execute(m_drive);
m_reportPacker.reportCompletedJob(MigrationJob(-1, task->fSeq(), -1));
//m_reportPacker.reportCompletedJob(MigrationJob(-1, task->fSeq(), -1));
files+=task->files();
blocks+=task->blocks();
if (files >= m_filesBeforeFlush ||
......@@ -75,3 +80,4 @@ private:
MigrationReportPacker & m_reportPacker;
};
}}}}
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