From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56287 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFnx7-0001T4-OP for qemu-devel@nongnu.org; Tue, 09 Nov 2010 08:09:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFnx6-0003EL-LI for qemu-devel@nongnu.org; Tue, 09 Nov 2010 08:09:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFnx6-0003Cl-8T for qemu-devel@nongnu.org; Tue, 09 Nov 2010 08:09:32 -0500 Date: Tue, 9 Nov 2010 11:08:43 -0200 From: Marcelo Tosatti Message-ID: <20101109130843.GA24340@amt.cnet> References: <20101108190253.560821111@redhat.com> <4CD8E3E4.8010500@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CD8E3E4.8010500@lab.ntt.co.jp> Subject: [Qemu-devel] Re: [patch 0/3] block migration fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yoshiaki Tamura Cc: Kevin Wolf , ohmura.kei@lab.ntt.co.jp, qemu-devel@nongnu.org, Liran Schour On Tue, Nov 09, 2010 at 03:02:12PM +0900, Yoshiaki Tamura wrote: > Marcelo Tosatti wrote: > > Following patchset fixes block migration corruption issues. > > Hi Marcelo, > > Thanks for looking into this issue. Although we tried your patches, we're still > seeing the corruption. If we execute block migration while copying a file > locally, md5sum of the copied file doesn't match with the original. Sometimes, > the filesystem returns an I/O error. > > Could you let us know how you tested and debugged? Did you use blkverify? Yoshiaki, I first reproduced corruption by copying a large file during "migrate -i", with shared base on qcow2 filesystem, as in your original report. To debug the problem, file with different byte pattern at every 1MB (size of dirty chunk) was created and copied directly to an IDE disk in the guest. Raw format used for the disk image. With this patchset, i'm not able to reproduce the original issue anymore. Can you please provide more details on how to reproduce? > > Thanks, > > Yoshi