Commit ff85883
committed
VDI.export_changed_blocks: only require SR of vdi_to
If the VDIs are from different SRs, then the changed blocks are all the
blocks of vdi_to, so the SR of vdi_from doesn't have to be connected.
Using SR.forward_multiple_op caused a bug where the
export_changed_blocks call was forwarded to a slave, even though this
call has to be run from the SR master, which is the pool master in case
of a shared SR. The forward_vdi_op function correctly forwards the call
to the SR master.
Signed-off-by: Gabor Igloi <[email protected]>1 parent 210a756 commit ff85883
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3108 | 3108 | | |
3109 | 3109 | | |
3110 | 3110 | | |
3111 | | - | |
3112 | | - | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
3113 | 3114 | | |
3114 | 3115 | | |
3115 | 3116 | | |
| |||
3608 | 3609 | | |
3609 | 3610 | | |
3610 | 3611 | | |
3611 | | - | |
3612 | 3612 | | |
3613 | 3613 | | |
3614 | 3614 | | |
3615 | | - | |
| 3615 | + | |
3616 | 3616 | | |
3617 | 3617 | | |
3618 | 3618 | | |
| |||
0 commit comments