[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] FW: about the bdrv_invalidate_cache_all()
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] FW: about the bdrv_invalidate_cache_all() |
Date: |
Wed, 5 Aug 2015 19:45:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 05/08/2015 17:21, Li, Liang Z wrote:
> I found the function bdrv_invalidate_cache_all() in the
> process_incoming_migration_co() takes more the 10ms when doing live
> migration with shared storage, which prolong the service down time.
>
> The bdrv_invalidate_cache_all() is needed when doing the live
> migration with '-b' option. For live migration with share storage,
> such as nfs, is it still needed? If so, could please tell me why? If
> not, I think we can do some optimization.
IIUC it's the other way round. bdrv_invalidate_cache_all() is only
needed for live migration with shared storage.
Paolo