]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/scrub: reduce osd_requested_scrub_priority default value 59886/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:40:29 +0000 (19:40 +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 9bab8af70633b661a849b60cf56cc604c6cc6296..cc402e9de1d4a751c1eea6e28387673bfce9a48b 100644 (file)
@@ -3656,7 +3656,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