osd->reply_op_error(op, -ENAMETOOLONG);
return;
}
+ if (m->get_hobj().oid.name.empty()) {
+ dout(4) << "do_op empty oid name is not allowed" << dendl;
+ osd->reply_op_error(op, -EINVAL);
+ return;
+ }
if (int r = osd->store->validate_hobject_key(head)) {
dout(4) << "do_op object " << head << " invalid for backing store: "
if (obc->requeue_scrub_on_unblock) {
obc->requeue_scrub_on_unblock = false;
- requeue_scrub();
+ // only requeue if we are still active: we may be unblocking
+ // because we are resetting for a new peering interval
+ if (is_active()) {
+ requeue_scrub();
+ }
}
}