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)
80 len = val & (XrdProto::kXR_pgPageSZ-1);
81 if (!len) len = XrdProto::kXR_pgPageSZ;
82 val = val >> XrdProto::kXR_pgPageBL;
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.");