From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7VqM-0000nS-8Y for qemu-devel@nongnu.org; Tue, 23 Jun 2015 17:34:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7VqI-0006IV-GC for qemu-devel@nongnu.org; Tue, 23 Jun 2015 17:34:58 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:34892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7VqI-0006HM-36 for qemu-devel@nongnu.org; Tue, 23 Jun 2015 17:34:54 -0400 Received: by wgbhy7 with SMTP id hy7so20557012wgb.2 for ; Tue, 23 Jun 2015 14:34:52 -0700 (PDT) From: =?UTF-8?q?Jind=C5=99ich=20Makovi=C4=8Dka?= Date: Tue, 23 Jun 2015 23:34:48 +0200 Message-Id: <1435095289-14342-1-git-send-email-makovick@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH] Fix occassional crashes during qcow2 recompression List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Jind=C5=99ich=20Makovi=C4=8Dka?= Hi, the following patch adds missing EAGAIN handling in qcow2 code. When the conditions for throwing EAGAIN from the refcount allocator are met, qcow-img image recompression fails with "error while writing sector". Jindřich Makovička (1): qcow2: Handle EAGAIN returned from update_refcount block/qcow2-refcount.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) -- 2.1.4