This repository was archived by the owner on Feb 16, 2026. It is now read-only.
Commit 87e1084
committed
hash: Make the exponential rush exponential again
After the migration of the waiting list to the objcore, the result was
that each request would rush more requests upon reembarking by dropping
the waited objcore reference before the objhead lookup.
The reference is now dropped after the objhead lookup, allowing for the
lookup outcome to be checked, either triggerring a complete rush when
the object is serviceable (modulus vary match) or moving the waiting
list to the next busy objcore.
This avoids the spurious wakeups caused by objhead rushes when waiting
lists were owned by objheads. This is however a missed opportunity when
there are multiple concurrent busy objcores. This could be alleviated
by linking busy objcores together but at this point this is already a
net improvement. The only way to get multiple concurrent busy objcores
on the same objhead would be through the hash_ignore_busy flag anyway.1 parent de8fe12 commit 87e1084
2 files changed
Lines changed: 132 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
387 | 426 | | |
388 | 427 | | |
389 | 428 | | |
| |||
547 | 586 | | |
548 | 587 | | |
549 | 588 | | |
| 589 | + | |
| 590 | + | |
550 | 591 | | |
551 | 592 | | |
552 | 593 | | |
| |||
591 | 632 | | |
592 | 633 | | |
593 | 634 | | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
| 635 | + | |
| 636 | + | |
598 | 637 | | |
599 | 638 | | |
600 | 639 | | |
601 | 640 | | |
| 641 | + | |
602 | 642 | | |
603 | 643 | | |
604 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
605 | 670 | | |
606 | 671 | | |
607 | 672 | | |
608 | 673 | | |
609 | 674 | | |
| 675 | + | |
610 | 676 | | |
611 | 677 | | |
612 | 678 | | |
| |||
615 | 681 | | |
616 | 682 | | |
617 | 683 | | |
| 684 | + | |
618 | 685 | | |
619 | 686 | | |
620 | 687 | | |
| |||
659 | 726 | | |
660 | 727 | | |
661 | 728 | | |
662 | | - | |
663 | | - | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
664 | 733 | | |
665 | 734 | | |
666 | 735 | | |
| |||
689 | 758 | | |
690 | 759 | | |
691 | 760 | | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
692 | 766 | | |
693 | 767 | | |
694 | 768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
100 | 125 | | |
101 | 126 | | |
102 | 127 | | |
103 | 128 | | |
104 | 129 | | |
| 130 | + | |
| 131 | + | |
105 | 132 | | |
106 | 133 | | |
107 | 134 | | |
108 | 135 | | |
109 | 136 | | |
| 137 | + | |
| 138 | + | |
110 | 139 | | |
111 | 140 | | |
112 | 141 | | |
113 | 142 | | |
114 | 143 | | |
| 144 | + | |
| 145 | + | |
115 | 146 | | |
116 | 147 | | |
117 | 148 | | |
118 | 149 | | |
119 | 150 | | |
| 151 | + | |
| 152 | + | |
120 | 153 | | |
121 | 154 | | |
122 | 155 | | |
123 | 156 | | |
124 | 157 | | |
125 | | - | |
| 158 | + | |
| 159 | + | |
126 | 160 | | |
127 | 161 | | |
128 | 162 | | |
| |||
135 | 169 | | |
136 | 170 | | |
137 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
0 commit comments