From: Radoslaw Zarzynski Date: Thu, 9 May 2024 21:51:11 +0000 (+0000) Subject: osd: ECCommon respects crimson non-null obc for new objects X-Git-Tag: v21.0.0~3^2~39 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e6eca7fc05f296fe5cf6edbbd72ae619c468ad2b;p=ceph.git osd: ECCommon respects crimson non-null obc for new objects Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/osd/ECCommon.cc b/src/osd/ECCommon.cc index c995c1663e0b..6ff11cddfc55 100644 --- a/src/osd/ECCommon.cc +++ b/src/osd/ECCommon.cc @@ -1441,7 +1441,11 @@ void ECCommon::RecoveryBackend::continue_recovery_op( } read_request_t read_request(std::move(want), +#ifdef WITH_CRIMSON + op.recovery_progress.first && op.xattrs.count(OI_ATTR) == 0, +#else op.recovery_progress.first && !op.obc, +#endif op.obc ? op.obc->obs.oi.size : get_recovery_chunk_size());