]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/scrub: reduce osd_requested_scrub_priority default value 59885/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 15 Sep 2024 09:23:44 +0000 (12:23 +0300)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 19 Sep 2024 16:33:07 +0000 (19:33 +0300)
No scrub messages should have a higher priority than
client op messages. The default value should therefore be
below osd_client_op_priority, which is 63.

But as a followup PR would eliminate the special queue
priority for 'requested' scrub messages, the default value
is set to equal osd_scrub_priority.

Fixes: https://tracker.ceph.com/issues/68072
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit b98a46582e5e21de13e51017ea35dabdc19db71d)

src/common/options/global.yaml.in

index 0a52b27a599acd1a6b5bf89273c6b11fc0b6be92..1b64b5da71772996e6b3c7eb71eca609ae43fb15 100644 (file)
@@ -3638,7 +3638,7 @@ options:
 - name: osd_requested_scrub_priority
   type: uint
   level: advanced
-  default: 120
+  default: 5
   fmt_desc: The priority set for user requested scrub on the work queue.  If
     this value were to be smaller than ``osd_client_op_priority`` it
     can be boosted to the value of ``osd_client_op_priority`` when