From: Matan Breizman Date: Tue, 15 Jul 2025 08:24:22 +0000 (+0000) Subject: crimson/osd/../client_request: drop rwoedered with balanced/localize reads X-Git-Tag: testing/wip-vshankar-testing-20250730.064735-debug~15^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fwip-matanb-crimson-misdirected-fix;p=ceph-ci.git crimson/osd/../client_request: drop rwoedered with balanced/localize reads This is the counterpart of https://github.com/ceph/ceph/pull/62806 Which fixes classical: https://tracker.ceph.com/issues/70715 Fixes: https://tracker.ceph.com/issues/71007 Signed-off-by: Matan Breizman --- diff --git a/src/crimson/osd/osd_operations/client_request.cc b/src/crimson/osd/osd_operations/client_request.cc index cfb85bc83b4..3dd27ff55f7 100644 --- a/src/crimson/osd/osd_operations/client_request.cc +++ b/src/crimson/osd/osd_operations/client_request.cc @@ -632,6 +632,10 @@ bool ClientRequest::is_misdirected_replica_read(const PG& pg) const if (const int flags = m->get_flags(); flags & CEPH_OSD_FLAG_BALANCE_READS || flags & CEPH_OSD_FLAG_LOCALIZE_READS) { + if (op_info.rwordered()) { + DEBUGDPP("{}: dropping - rwoedered with balanced/localize read {}", pg, *this); + return true; + } if (!op_info.may_read()) { DEBUGDPP("{}: dropping - no read found with balanced/localize read", pg, *this); return true;