Commit 43544d2
committed
osd: Change scrub cost in case of mClock scheduler
With osd_op_queue as WPQ, high costs were assigned to scrub in order to throttle it effectively.
In the case of mClock scheduler, mClock parameters are used to do the throttling and the cost should represent a realistic value.
Fixes: https://tracker.ceph.com/issues/61313
Signed-off-by: Aishwarya Mathuria <[email protected]>1 parent 0345083 commit 43544d2
3 files changed
+20
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3645 | 3645 | | |
3646 | 3646 | | |
3647 | 3647 | | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
3648 | 3654 | | |
3649 | 3655 | | |
3650 | 3656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1756 | 1756 | | |
1757 | 1757 | | |
1758 | 1758 | | |
1759 | | - | |
1760 | 1759 | | |
1761 | | - | |
| 1760 | + | |
1762 | 1761 | | |
1763 | 1762 | | |
1764 | 1763 | | |
| |||
1769 | 1768 | | |
1770 | 1769 | | |
1771 | 1770 | | |
1772 | | - | |
1773 | 1771 | | |
1774 | | - | |
| 1772 | + | |
1775 | 1773 | | |
1776 | 1774 | | |
1777 | 1775 | | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1778 | 1787 | | |
1779 | 1788 | | |
1780 | 1789 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
| 608 | + | |
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| |||
0 commit comments