Commit cc2ae66
Fix hang when updateInOutCount called from processReplacing
Ignore requests to change the I/O count from within processReplacing and print a warning instead; the shared memory is in use so it can't be reallocated. Add a special case to return immediately if the I/O count hasn't changed at all; this will prevent spurious warnings when the plugin is only updating the latency and should reduce unnecessary reallocations in general.1 parent de427bb commit cc2ae66
1 file changed
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
254 | | - | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| |||
1438 | 1439 | | |
1439 | 1440 | | |
1440 | 1441 | | |
1441 | | - | |
| 1442 | + | |
1442 | 1443 | | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
1443 | 1457 | | |
1444 | 1458 | | |
1445 | 1459 | | |
| |||
1467 | 1481 | | |
1468 | 1482 | | |
1469 | 1483 | | |
| 1484 | + | |
| 1485 | + | |
1470 | 1486 | | |
1471 | 1487 | | |
1472 | 1488 | | |
| |||
1611 | 1627 | | |
1612 | 1628 | | |
1613 | 1629 | | |
1614 | | - | |
1615 | 1630 | | |
1616 | | - | |
1617 | | - | |
| 1631 | + | |
| 1632 | + | |
1618 | 1633 | | |
1619 | 1634 | | |
1620 | 1635 | | |
| |||
1897 | 1912 | | |
1898 | 1913 | | |
1899 | 1914 | | |
| 1915 | + | |
| 1916 | + | |
1900 | 1917 | | |
1901 | 1918 | | |
1902 | 1919 | | |
| |||
0 commit comments