On Wed, Mar 29, 2017 at 9:21 PM, 858585 jemmy wrote:
> On Tue, Mar 28, 2017 at 5:47 PM, Juan Quintela wrote:
>> Lidong Chen wrote:
>>> when migration with quick speed, mig_save_device_bulk invoke
>>> bdrv_is_allocated too frequently, and cause vnc reponse slowly.
>>> this patch limit the time us
On Wed, Mar 29, 2017 at 11:57 PM, Juan Quintela wrote:
>
> 858585 jemmy wrote:
> > On Tue, Mar 28, 2017 at 5:47 PM, Juan Quintela wrote:
> >> Lidong Chen wrote:
> >>> when migration with quick speed, mig_save_device_bulk invoke
> >>> bdrv_is_allocated too frequently, and cause vnc reponse slowl
858585 jemmy wrote:
> On Tue, Mar 28, 2017 at 5:47 PM, Juan Quintela wrote:
>> Lidong Chen wrote:
>>> when migration with quick speed, mig_save_device_bulk invoke
>>> bdrv_is_allocated too frequently, and cause vnc reponse slowly.
>>> this patch limit the time used for bdrv_is_allocated.
>>>
>>>
On Tue, Mar 28, 2017 at 5:47 PM, Juan Quintela wrote:
> Lidong Chen wrote:
>> when migration with quick speed, mig_save_device_bulk invoke
>> bdrv_is_allocated too frequently, and cause vnc reponse slowly.
>> this patch limit the time used for bdrv_is_allocated.
>>
>> Signed-off-by: Lidong Chen
Lidong Chen wrote:
> when migration with quick speed, mig_save_device_bulk invoke
> bdrv_is_allocated too frequently, and cause vnc reponse slowly.
> this patch limit the time used for bdrv_is_allocated.
>
> Signed-off-by: Lidong Chen
> ---
> migration/block.c | 39 ++
when migrate the vm with quick speed, i find vnc response slowly.
the bug can be reproduce by this command:
virsh migrate-setspeed 165cf436-312f-47e7-90f2-f8aa63f34893 900
virsh migrate --live 165cf436-312f-47e7-90f2-f8aa63f34893
--copy-storage-inc qemu+ssh://10.59.163.38/system
and --copy-storag
when migration with quick speed, mig_save_device_bulk invoke
bdrv_is_allocated too frequently, and cause vnc reponse slowly.
this patch limit the time used for bdrv_is_allocated.
Signed-off-by: Lidong Chen
---
migration/block.c | 39 +++
1 file changed, 31 ins