Commit 10187da
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 78cead5 commit 10187da
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1772 | 1772 | | |
1773 | 1773 | | |
1774 | 1774 | | |
| 1775 | + | |
| 1776 | + | |
1775 | 1777 | | |
1776 | 1778 | | |
1777 | 1779 | | |
| |||
1784 | 1786 | | |
1785 | 1787 | | |
1786 | 1788 | | |
1787 | | - | |
1788 | | - | |
1789 | | - | |
1790 | | - | |
1791 | | - | |
1792 | 1789 | | |
1793 | 1790 | | |
1794 | 1791 | | |
| |||
0 commit comments