Commit 92003cb
committed
Fix deadlock with coalesce and vdi activation
If the VDI is being coalesced, the VDI activation would want to
interrupt it.
But the LVMSR coalesce needs the lvchange-p lock of the SR.
Moved the check for chain coalesce before taking the lock.
Signed-off-by: Damien Thenot <damien.thenot@vates.tech>1 parent 0d013a5 commit 92003cb
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1775 | 1775 | | |
1776 | 1776 | | |
1777 | 1777 | | |
| 1778 | + | |
| 1779 | + | |
1778 | 1780 | | |
1779 | 1781 | | |
1780 | 1782 | | |
| |||
1787 | 1789 | | |
1788 | 1790 | | |
1789 | 1791 | | |
1790 | | - | |
1791 | | - | |
1792 | | - | |
1793 | | - | |
1794 | | - | |
1795 | 1792 | | |
1796 | 1793 | | |
1797 | 1794 | | |
| |||
0 commit comments