for (auto osd : up) {
auto it = weight_map.find(osd);
if (it == weight_map.end()) {
- // osd is gone or has been moved out of the specific crush-tree
+ ldout(cct, 10) << __func__ << " pg " << pg << ": osd " << osd << " is gone or has "
+ << "been moved out of the specific crush-tree"
+ << dendl;
to_cancel->push_back(pg);
break;
}
auto adjusted_weight = get_weightf(it->first) * it->second;
if (adjusted_weight == 0) {
- // osd is out/crush-out
+ ldout(cct, 10) << __func__ << " pg " << pg << ": osd " << osd
+ << " is out/crush-out"
+ << dendl;
to_cancel->push_back(pg);
break;
}