[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6 13/13] block/mirror: Block "device IO" during

From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v6 13/13] block/mirror: Block "device IO" during mirror exit
Date: Sat, 23 May 2015 19:21:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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 after bdrw_swap().

Reported-by: Wen Congyang <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
  block/mirror.c | 9 ++++++++-
  1 file changed, 8 insertions(+), 1 deletion(-)

Reviewed-by: Max Reitz <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]