BEESCOUNTADD(dedup_bytes, brp.first.size());
} else {
BEESCOUNT(dedup_miss);
- BEESLOGWARN("NO Dedup! " << brp);
+ BEESLOGINFO("NO Dedup! " << brp);
}
lock.reset();
Extent::OBSCURED | Extent::PREALLOC
)) {
BEESCOUNT(scan_interesting);
- BEESLOGWARN("Interesting extent flags " << e << " from fd " << name_fd(bfr.fd()));
+ BEESLOGINFO("Interesting extent flags " << e << " from fd " << name_fd(bfr.fd()));
}
if (e.flags() & Extent::HOLE) {
BeesResolver resolved(m_ctx, found_addr);
// Toxic extents are really toxic
if (resolved.is_toxic()) {
- BEESLOGWARN("WORKAROUND: discovered toxic match at found_addr " << found_addr << " matching bbd " << bbd);
+ BEESLOGDEBUG("WORKAROUND: discovered toxic match at found_addr " << found_addr << " matching bbd " << bbd);
BEESCOUNT(scan_toxic_match);
// Make sure we never see this hash again.
// It has become toxic since it was inserted into the hash table.
// Sanity check
if (bfr.begin() >= bfr.file_size()) {
- BEESLOGWARN("past EOF: " << bfr);
+ BEESLOGDEBUG("past EOF: " << bfr);
BEESCOUNT(scanf_eof);
return false;
}
for (auto fp = madv_flags; fp->value; ++fp) {
BEESTOOLONG("madvise(" << fp->name << ")");
if (madvise(m_byte_ptr, m_size, fp->value)) {
- BEESLOGWARN("madvise(..., " << fp->name << "): " << strerror(errno) << " (ignored)");
+ BEESLOGNOTICE("madvise(..., " << fp->name << "): " << strerror(errno) << " (ignored)");
}
}
BEESTRACE("searching paths for root " << root << " ino " << ino);
Fd rv;
if (ipa.m_paths.empty()) {
- BEESLOGWARN("No paths for root " << root << " ino " << ino);
+ // BEESLOGDEBUG("No paths for root " << root << " ino " << ino);
BEESCOUNT(open_lookup_empty);
}
BEESCOUNT(open_lookup_ok);
int attr = ioctl_iflags_get(rv);
if (attr & FS_NOCOW_FL) {
- BEESLOGWARN("Opening " << name_fd(rv) << " found FS_NOCOW_FL flag in " << to_hex(attr));
+ BEESLOGINFO("Opening " << name_fd(rv) << " found FS_NOCOW_FL flag in " << to_hex(attr));
rv = Fd();
BEESCOUNT(open_wrong_flags);
break;
}
}
if (found_toxic) {
- BEESLOGWARN("WORKAROUND: found toxic hash in " << first_bbd << " while extending backward:\n" << *this);
+ BEESLOGDEBUG("WORKAROUND: found toxic hash in " << first_bbd << " while extending backward:\n" << *this);
BEESCOUNT(pairbackward_toxic_hash);
break;
}
}
}
if (found_toxic) {
- BEESLOGWARN("WORKAROUND: found toxic hash in " << first_bbd << " while extending forward:\n" << *this);
+ BEESLOGDEBUG("WORKAROUND: found toxic hash in " << first_bbd << " while extending forward:\n" << *this);
BEESCOUNT(pairforward_toxic_hash);
break;
}
if (age() > m_limit) {
ostringstream oss;
m_func(oss);
- BEESLOGWARN("PERFORMANCE: " << *this << " sec: " << oss.str());
+ BEESLOGINFO("PERFORMANCE: " << *this << " sec: " << oss.str());
}
}