From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z88Vi-0004FN-Cf for qemu-devel@nongnu.org; Thu, 25 Jun 2015 10:52:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z88Va-0006f3-UK for qemu-devel@nongnu.org; Thu, 25 Jun 2015 10:52:14 -0400 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:32878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z88Va-0006ev-NF for qemu-devel@nongnu.org; Thu, 25 Jun 2015 10:52:06 -0400 Received: by wgck11 with SMTP id k11so64935929wgc.0 for ; Thu, 25 Jun 2015 07:52:06 -0700 (PDT) Date: Thu, 25 Jun 2015 15:52:02 +0100 From: Stefan Hajnoczi Message-ID: <20150625145202.GQ4419@stefanha-thinkpad.redhat.com> References: <1435095289-14342-1-git-send-email-makovick@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hIO1AjEoFJ7b3ahE" Content-Disposition: inline In-Reply-To: <1435095289-14342-1-git-send-email-makovick@gmail.com> Subject: Re: [Qemu-devel] [PATCH] Fix occassional crashes during qcow2 recompression List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Jind=C5=99ich_Makovi=C4=8Dka?= Cc: qemu-devel@nongnu.org --hIO1AjEoFJ7b3ahE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 23, 2015 at 11:34:48PM +0200, Jind=C5=99ich Makovi=C4=8Dka wrot= e: > Hi, >=20 > the following patch adds missing EAGAIN handling in qcow2 code. >=20 > When the conditions for throwing EAGAIN from the refcount allocator > are met, qcow-img image recompression fails with "error while writing > sector". >=20 > Jind=C5=99ich Makovi=C4=8Dka (1): > qcow2: Handle EAGAIN returned from update_refcount >=20 > block/qcow2-refcount.c | 23 +++++++++++++---------- > 1 file changed, 13 insertions(+), 10 deletions(-) >=20 > --=20 > 2.1.4 >=20 >=20 Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --hIO1AjEoFJ7b3ahE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVjBWSAAoJEJykq7OBq3PIhDoH/0PfnigvL17ed1HU/Cxi7v66 Rwfk/Q6cBHJqENcZ9RHQ0KXksAnUeaGKI2SfY8Exj+o2cHXLtlIN8Dm8L3yugwZO 27jHtolEHE7gPKVEqmlEB1N5XcB7j9PxsaOaAZ/Oc1WY5B1s0cruSuHeu87aMD63 hcd/EXgQPsFT4qwP+jNNKK9/FejLZD8za2a7vLrdFdCeWl+4hnYO/yZVoNnCzxCC K1oQS/QyX4WZoBJjaEaMrGpQXcmdfbQP5uQ30LKy1tgQ77AUeXFLiWizDkJwYhma aj+e4R4pFAP0HkZgaUXla7H20pzyKXuwxVTjCRTuDlsK4zsIMByNzal/rCDIt1k= =Gqlv -----END PGP SIGNATURE----- --hIO1AjEoFJ7b3ahE--