]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Change osd op queue cut off default to high
authorAnthony D'Atri <anthony.datri@gmail.com>
Tue, 17 Sep 2019 23:33:44 +0000 (16:33 -0700)
committerKefu Chai <kchai@redhat.com>
Wed, 24 Mar 2021 04:18:47 +0000 (12:18 +0800)
Discussion: https://www.mail-archive.com/ceph-users@ceph.io/msg00166.html

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
(cherry picked from commit be4582c26a82ff9d6b82ff6178cd78223715bba9)

doc/rados/configuration/osd-config-ref.rst
src/common/options.cc

index 7ecb6a722470305539dd5faeb154cd7056720aa9..588f459944145d5de702d8af385ef66d687f24ad 100644 (file)
@@ -395,7 +395,7 @@ recovery operations to ensure optimal performance during recovery.
 
 :Type: String
 :Valid Choices: prio, wpq, mclock_opclass, mclock_client
-:Default: ``prio``
+:Default: ``wpq``
 
 
 ``osd op queue cut off``
@@ -412,7 +412,7 @@ recovery operations to ensure optimal performance during recovery.
 
 :Type: String
 :Valid Choices: low, high
-:Default: ``low``
+:Default: ``high``
 
 
 ``osd client op priority``
index a772ec02332ddf735201aba1fbae9fb41a556c6f..4a2d9554431ca4c440fe5e0b187aff49bd3d947b 100644 (file)
@@ -2053,7 +2053,7 @@ std::vector<Option> get_global_options() {
     .add_see_also("osd_op_queue_cut_off"),
 
     Option("osd_op_queue_cut_off", Option::TYPE_STR, Option::LEVEL_ADVANCED)
-    .set_default("low")
+    .set_default("high")
     .set_enum_allowed( { "low", "high", "debug_random" } )
     .set_description("the threshold between high priority ops and low priority ops")
     .set_long_description("the threshold between high priority ops that use strict priority ordering and low priority ops that use a fairness algorithm that may or may not incorporate priority")