objclass.cc
${PROJECT_SOURCE_DIR}/src/objclass/class_api.cc
${PROJECT_SOURCE_DIR}/src/osd/ClassHandler.cc
+ ${PROJECT_SOURCE_DIR}/src/osd/ECCommon.cc
+ ${PROJECT_SOURCE_DIR}/src/osd/ECExtentCache.cc
${PROJECT_SOURCE_DIR}/src/osd/ECUtil.cc
${PROJECT_SOURCE_DIR}/src/osd/ECUtilL.cc
${PROJECT_SOURCE_DIR}/src/osd/osd_op_util.cc
continue;
}
const shard_id_t &shard = pg_shard.shard;
+#ifndef WITH_CRIMSON
if (cct->_conf->bluestore_debug_inject_read_err &&
ECInject::test_read_error1(ghobject_t(hoid, ghobject_t::NO_GEN, shard))) {
dout(0) << __func__ << " Error inject - Missing shard " << shard << dendl;
continue;
}
+#endif
if (!missing.is_missing(hoid)) {
ceph_assert(!have.contains(shard));
have.insert(shard);
if (pg_shard == get_parent()->whoami_shard()) {
should_write_local = true;
local_write_op.claim(sop);
+#ifndef WITH_CRIMSON
} else if (cct->_conf->bluestore_debug_inject_read_err &&
ECInject::test_write_error1(ghobject_t(op.hoid,
ghobject_t::NO_GEN,
pg_shard.shard))) {
dout(0) << " Error inject - Dropping write message to shard " <<
pg_shard.shard << dendl;
+#endif
} else {
auto *r = new MOSDECSubOpWrite(sop);
r->pgid = spg_t(get_parent()->primary_spg_t().pgid, pg_shard.shard);
<< " missing_on_shards=" << missing_on_shards
<< " recovery_info=" << recovery_info
<< " recovery_progress=" << recovery_progress
+#ifndef WITH_CRIMSON
<< " obc refcount=" << obc.use_count()
+#else
+ << " obc refcount=" << obc->get_use_count()
+#endif
<< " state=" << ECCommon::RecoveryBackend::RecoveryOp::tostr(state)
<< " waiting_on_pushes=" << waiting_on_pushes
<< ")";