On 21.05.2015 08:43, Fam Zheng wrote:
When mirror should complete, the source and target are in sync. But we
call bdrv_swap() only a while later in the main loop bh. If the guest
writes something before that, target will not get the new data.
Block "device IO" before bdrv_drain and unblock it a
When mirror should complete, the source and target are in sync. But we
call bdrv_swap() only a while later in the main loop bh. If the guest
writes something before that, target will not get the new data.
Block "device IO" before bdrv_drain and unblock it after bdrw_swap().
Reported-by: Wen Cong