Merge pull request #30441 from anthonyeleven/master

osd: Change osd op queue cut off default to high

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
Kefu Chai 2019-09-28 16:05:05 +08:00 committed by GitHub
commit e741238745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -400,7 +400,7 @@ Operations
:Type: String
:Valid Choices: prio, wpq, mclock_opclass, mclock_client
:Default: ``prio``
:Default: ``wpq``
``osd op queue cut off``
@ -417,7 +417,7 @@ Operations
:Type: String
:Valid Choices: low, high
:Default: ``low``
:Default: ``high``
``osd client op priority``

View File

@ -2797,7 +2797,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")