From 1503ee410a59cf525d8a84b85c1514cca202a76d Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Tue, 15 Jul 2025 08:24:22 +0000 Subject: [PATCH] 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 --- src/crimson/osd/osd_operations/client_request.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/crimson/osd/osd_operations/client_request.cc b/src/crimson/osd/osd_operations/client_request.cc index cfb85bc83b44e..3dd27ff55f77e 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; -- 2.39.5