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 <mbreizma@redhat.com>
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;