]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone: Use osd op queue = wpq in activate_osd() 41782/head
authorSridhar Seshasayee <sseshasa@redhat.com>
Wed, 9 Jun 2021 06:14:11 +0000 (11:44 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Wed, 9 Jun 2021 09:32:58 +0000 (15:02 +0530)
This change is a follow-up to commit
b6e9c0903d5ad9a699b675f9fa7739e9cce9a5f3 that set the scheduler to wpq in
run_osd() and run_osd_filestore(). In addition, activate_osd() too has to
set the scheduler type to 'wpq' in order to be consistent and avoid test
failures.

The above is a temporary measure until all the standalone tests are
modified to run well with the mclock_scheduler.

Fixes: https://tracker.ceph.com/issues/51074
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
qa/standalone/ceph-helpers.sh

index 15be996901ff65872c154568a07d429c0b5a8257..f0ba10f76a4b6bd50b40a5a608aa0679a5b3fc66 100755 (executable)
@@ -856,6 +856,7 @@ function activate_osd() {
     ceph_args+=" --osd-scrub-load-threshold=2000"
     ceph_args+=" --osd-data=$osd_data"
     ceph_args+=" --osd-journal=${osd_data}/journal"
+    ceph_args+=" --osd-op-queue=wpq"
     ceph_args+=" --chdir="
     ceph_args+=$EXTRA_OPTS
     ceph_args+=" --run-dir=$dir"