]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/standalone: Modify ceph-helpers.sh tests for mclock scheduler.
authorSridhar Seshasayee <sseshasa@redhat.com>
Mon, 14 Jun 2021 08:06:23 +0000 (13:36 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Fri, 30 Jul 2021 12:46:00 +0000 (18:16 +0530)
commit5a85a6a035bad2f86f1390aec02985bf65dca364
tree439dbe95f984a398eb02a4a400dcc54a49b0458f
parent8725a1088098aa6f389b87f8db0989693d869c1b
qa/standalone: Modify ceph-helpers.sh tests for mclock scheduler.

List of changes:

1. Remove the enforcement to use osd_op_queue=wpq when an osd is brought
   up in the following functions:
   - run_osd()
   - run_osd_filestore() and
   - activate_osd()

2. New functions:
   - get_op_scheduler() - Get the current osd_op_queue for an osd.

3. Modified test cases:
   - test_run_osd() - Add check for osd_max_backfill count.
     The mclock scheduler overrides the count to 1000.

4. New test cases:
   - test_activate_osd_after_mark_down()
   - test_get_op_scheduler()

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