Commit 3be4300
committed
osd/scrub: disable high work-queue priority for h.p. scrub
Prior to this fix, scrub-related messages were queued with
one of four priorities:
- if part of a regular, periodic scrub, the messages were queued
with a very low priority (osd_scrub_priority. Default: 5), unless:
- if the pool configuration specified a higher priority for the
scrub, the messages were queued with that priority
(the SCRUB_PRIORITY pool configuration option);
- if a client operation was waiting for the scrub to complete,
the messages were queued with the higher priority of the
client ops (osd_client_op_priority. Default: 63);
and if the scrub was a high-priority one, e.g. initiated by the
operator, the messages were queued with the highest priority
(osd_requested_scrub_priority. Default: 120).
That last priority is too high, as scrubs should not have
precedence over client ops. It is even more disruptive if the
cluster is set to have only manually initiated scrubs, and
all scrubs are high-priority ones.
This patch removes the osd_requested_scrub_priority. Instead,
all scrub messages are queued according to the first three
rules above.
Signed-off-by: Ronen Friedman <[email protected]>1 parent 2c46870 commit 3be4300
2 files changed
+3
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3705 | 3705 | | |
3706 | 3706 | | |
3707 | 3707 | | |
3708 | | - | |
3709 | | - | |
3710 | | - | |
3711 | | - | |
3712 | | - | |
| 3708 | + | |
| 3709 | + | |
3713 | 3710 | | |
3714 | 3711 | | |
3715 | 3712 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1671 | 1671 | | |
1672 | 1672 | | |
1673 | 1673 | | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
1679 | | - | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
| 1674 | + | |
1683 | 1675 | | |
1684 | 1676 | | |
1685 | 1677 | | |
| |||
0 commit comments