54 #define TRACELINK fileP
58 int len, n = badOffs.size();
64 snprintf(buff,
sizeof(buff),
"Warning! %d checksum error(s) in", n);
65 eLog.
Emsg(
"PgwFob", buff, fileP->FileKey);
71 {
const char *TraceID =
"FileFob", *fname = fileP->FileKey;
77 for (std::set<kXR_int64>::iterator it = badOffs.begin();
78 it != badOffs.end(); ++it)
83 snprintf(item,
sizeof(item),
" %d@%lld", len, val);
86 TRACEI(PGCS,fname<<
" had "<<numErrs<<
" cksum errs and "<<numFixd
87 <<
" fixes"<<
"; areas in error:"<<lolist.
c_str());
89 {
TRACEI(PGCS,fname<<
" had "<<numErrs<<
" cksum errs and "
90 <<numFixd<<
" fixes.");
XrdSysTrace XrdXrootdTrace
const char * c_str() const
int Emsg(const char *esfx, int ecode, const char *text1, const char *text2=0)
static const int kXR_pgPageSZ
static const int kXR_pgPageBL