Re: [libvirt] [PATCH RESEND] qemu: shared disks with cache=directsync should be safe for migration

2017-07-20 Thread Daniel P. Berrange
On Sat, Jul 15, 2017 at 11:01:25PM +0800, Peng Hao wrote: > From: Hao Peng > > At present shared disks can be migrated with either readonly or cache=none. > But > cache=directsync should be safe for migration, because both cache=directsync > and cache=none > don't use the host page cache, and c

[libvirt] [PATCH RESEND] qemu: shared disks with cache=directsync should be safe for migration

2017-07-14 Thread Peng Hao
From: Hao Peng At present shared disks can be migrated with either readonly or cache=none. But cache=directsync should be safe for migration, because both cache=directsync and cache=none don't use the host page cache, and cache=direct write through qemu block layer cache. Signed-off-by: Peng H