From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLuSB-0007hV-MY for qemu-devel@nongnu.org; Thu, 12 Feb 2015 09:09:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLuS8-0004zg-Ft for qemu-devel@nongnu.org; Thu, 12 Feb 2015 09:09:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLuS8-0004zc-8W for qemu-devel@nongnu.org; Thu, 12 Feb 2015 09:09:12 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1CE9BYJ022146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 12 Feb 2015 09:09:11 -0500 Message-ID: <54DCB407.4060707@redhat.com> Date: Thu, 12 Feb 2015 09:09:11 -0500 From: Max Reitz MIME-Version: 1.0 References: <1423734398-8502-1-git-send-email-kwolf@redhat.com> In-Reply-To: <1423734398-8502-1-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] vpc: Implement bdrv_co_get_block_status() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-devel@nongnu.org Cc: stefanha@redhat.com On 2015-02-12 at 04:46, Kevin Wolf wrote: > This implements bdrv_co_get_block_status() for VHD images. This can > significantly speed up qemu-img convert operation because only with this > function implemented sparseness can be considered. (Before, converting a > 1 TB empty image took several minutes for me, now it's instantaneous.) > > Signed-off-by: Kevin Wolf > --- > block/vpc.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 48 insertions(+), 2 deletions(-) Reviewed-by: Max Reitz