See NeoRadosCls.DNE or LibRadosCls.DNE
Fixes: https://tracker.ceph.com/issues/64000
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
-> PG::load_obc_iertr::future<> {
DEBUGDPP("{}.{}: entered get_obc stage, about to wait_scrub",
*pg, *this, this_instance_id);
- op_info.set_from_op(&*m, *pg->get_osdmap());
+ if (int res = op_info.set_from_op(&*m, *pg->get_osdmap());
+ res != 0) {
+ return reply_op_error(pg, res);
+ }
return ihref.enter_blocker(
*this,
pg->scrubber,
RWState::State PG::get_lock_type(const OpInfo &op_info)
{
-
+ ceph_assert(op_info.get_flags());
if (op_info.rwordered() && op_info.may_read()) {
return RWState::RWEXCL;
} else if (op_info.rwordered()) {