Commit 34bed3e
committed
osd: Change PG Deletion cost for mClock
With the osd_delete_sleep_ssd and osd_delete_sleep_hdd options disabled with mClock, it was noticed that PG deletion was completing much faster with mClock scheduler.
In order to give mClock a more accurate cost of the PG Deletion operation, we calculate it by taking into consideration how many objects are being deleted.
Signed-off-by: Aishwarya Mathuria <[email protected]>1 parent 000188f commit 34bed3e
5 files changed
+23
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1875 | 1875 | | |
1876 | 1876 | | |
1877 | 1877 | | |
1878 | | - | |
| 1878 | + | |
1879 | 1879 | | |
1880 | 1880 | | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
1881 | 1888 | | |
1882 | 1889 | | |
1883 | 1890 | | |
1884 | 1891 | | |
1885 | | - | |
| 1892 | + | |
1886 | 1893 | | |
1887 | 1894 | | |
1888 | 1895 | | |
| |||
10220 | 10227 | | |
10221 | 10228 | | |
10222 | 10229 | | |
10223 | | - | |
| 10230 | + | |
10224 | 10231 | | |
10225 | 10232 | | |
10226 | 10233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
| 556 | + | |
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2665 | 2665 | | |
2666 | 2666 | | |
2667 | 2667 | | |
2668 | | - | |
| 2668 | + | |
| 2669 | + | |
2669 | 2670 | | |
2670 | 2671 | | |
2671 | 2672 | | |
| |||
2689 | 2690 | | |
2690 | 2691 | | |
2691 | 2692 | | |
2692 | | - | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
2693 | 2696 | | |
2694 | 2697 | | |
2695 | 2698 | | |
| |||
2762 | 2765 | | |
2763 | 2766 | | |
2764 | 2767 | | |
2765 | | - | |
| 2768 | + | |
2766 | 2769 | | |
2767 | 2770 | | |
2768 | 2771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
779 | | - | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
780 | 782 | | |
781 | 783 | | |
782 | 784 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12849 | 12849 | | |
12850 | 12850 | | |
12851 | 12851 | | |
12852 | | - | |
| 12852 | + | |
| 12853 | + | |
| 12854 | + | |
12853 | 12855 | | |
12854 | 12856 | | |
12855 | 12857 | | |
| |||
0 commit comments