Commit 1e10a9b
committed
Limit private discarded queue for threads to a small items count.
On fast-shutdown take over the main discarded queue copying it to the allocator and only wait for the threads to commit their small private discarded queues
Signed-off-by: Gabriel BenHanokh <[email protected]>1 parent 4762ffa commit 1e10a9b
File tree
4 files changed
+36
-17
lines changed- src
- blk
- kernel
- os/bluestore
4 files changed
+36
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
594 | | - | |
| 594 | + | |
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
734 | 740 | | |
735 | 741 | | |
736 | 742 | | |
| |||
755 | 761 | | |
756 | 762 | | |
757 | 763 | | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
765 | 779 | | |
766 | 780 | | |
767 | 781 | | |
| |||
771 | 785 | | |
772 | 786 | | |
773 | 787 | | |
774 | | - | |
| 788 | + | |
| 789 | + | |
775 | 790 | | |
776 | 791 | | |
777 | 792 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7767 | 7767 | | |
7768 | 7768 | | |
7769 | 7769 | | |
7770 | | - | |
7771 | | - | |
7772 | | - | |
7773 | | - | |
| 7770 | + | |
| 7771 | + | |
| 7772 | + | |
| 7773 | + | |
| 7774 | + | |
7774 | 7775 | | |
7775 | | - | |
| 7776 | + | |
7776 | 7777 | | |
7777 | 7778 | | |
7778 | 7779 | | |
7779 | 7780 | | |
| 7781 | + | |
| 7782 | + | |
| 7783 | + | |
7780 | 7784 | | |
7781 | 7785 | | |
7782 | 7786 | | |
| |||
0 commit comments