]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
DO NOT PUSH: Force IO Sequencer to make balanced reads
authorAlex Ainscow <aainscow@uk.ibm.com>
Mon, 13 Oct 2025 13:41:15 +0000 (14:41 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 21 Oct 2025 13:34:54 +0000 (14:34 +0100)
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/common/io_exerciser/RadosIo.cc

index 3985665a05530c6e1ef140e1a567b12a1cf8bc39..a5ebc9915ac4ebf8d58af16b962a7cb356b14778 100644 (file)
@@ -259,8 +259,9 @@ void RadosIo::applyReadWriteOp(IoOp& op) {
       }
       finish_io();
     };
+    int flags = librados::OPERATION_BALANCE_READS;
     librados::async_operate(asio.get_executor(), io, primary_oid,
-                            std::move(rop), 0, nullptr, read_cb);
+                            std::move(rop), flags, nullptr, read_cb);
     num_io++;
   };