Received: from eggs.gnu.org ([2001:4830:134:3::10]:49177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrmQt-0003en-P4 for qemu-devel@nongnu.org; Mon, 11 May 2015 08:03:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrmQq-0003ea-Ip for qemu-devel@nongnu.org; Mon, 11 May 2015 08:03:39 -0400 Received: from mailpro.odiso.net ([89.248.209.98]:42301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrmQq-0003eQ-Cz for qemu-devel@nongnu.org; Mon, 11 May 2015 08:03:36 -0400 Date: Mon, 11 May 2015 14:03:33 +0200 (CEST) From: Alexandre DERUMIER Message-ID: <1030579745.182251493.1431345813045.JavaMail.zimbra@oxygem.tv> In-Reply-To: <555096AE.2070706@redhat.com> References: <1050461611.181154015.1431344303354.JavaMail.zimbra@oxygem.tv> <555096AE.2070706@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] qmp block-mirror hang, lots of nfs op/s on nfs source disk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pbonzini Cc: Fam Zheng , qemu-devel >>That is because drive-mirror checks the whole disk for allocated areas.= =20 Oh, ok, that's why I'm seeing a lot of lseek in strace lseek(21, 1447493632, 0x4 /* SEEK_??? */) =3D 107374182400 lseek(21, 1447559168, 0x3 /* SEEK_??? */) =3D 1447559168 lseek(21, 1447559168, 0x4 /* SEEK_??? */) =3D 107374182400 lseek(21, 1447624704, 0x3 /* SEEK_??? */) =3D 1447624704 lseek(21, 1447624704, 0x4 /* SEEK_??? */) =3D 107374182400 lseek(21, 1447690240, 0x3 /* SEEK_??? */) =3D 1447690240 lseek(21, 1447690240, 0x4 /* SEEK_??? */) =3D 107374182400 ... >>We are aware of that and Fam (CCed) is working on it. Thanks for the=20 >>report nevertheless! Ok, thanks ! ----- Mail original ----- De: "pbonzini" =C3=80: "aderumier" , "qemu-devel" , "Fam Zheng" Envoy=C3=A9: Lundi 11 Mai 2015 13:46:54 Objet: Re: qmp block-mirror hang, lots of nfs op/s on nfs source disk On 11/05/2015 13:38, Alexandre DERUMIER wrote:=20 > Hi,=20 >=20 > I'm currently playing with drive-mirror, (qemu 2.2)=20 >=20 > and I have qmp hang when drive-mirror is starting.=20 >=20 > just after qmp "drive-mirror" exec, qmp socket or hmp are not=20 > responding.=20 >=20 > After some times it's working again, and I can see result of=20 > query-block-jobs.=20 >=20 >=20 > The source volume is on nfs (v4), and it seem that the bigger the=20 > volume is, the bigger I need to wait before the mirror begin.=20 That is because drive-mirror checks the whole disk for allocated areas.=20 We are aware of that and Fam (CCed) is working on it. Thanks for the=20 report nevertheless!=20 Paolo=20