From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCXrz-0000rk-Dx for qemu-devel@nongnu.org; Mon, 04 Mar 2013 11:04:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCXrw-0003ZT-RE for qemu-devel@nongnu.org; Mon, 04 Mar 2013 11:04:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCXrw-0003ZL-KF for qemu-devel@nongnu.org; Mon, 04 Mar 2013 11:04:04 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r24G43wJ002906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 4 Mar 2013 11:04:03 -0500 Date: Mon, 4 Mar 2013 17:04:01 +0100 From: Kevin Wolf Message-ID: <20130304160400.GH3929@dhcp-200-207.str.redhat.com> References: <1362405755-3308-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1362405755-3308-1-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/6] qcow2: cache flush fixes and performance improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org Am 04.03.2013 um 15:02 hat Stefan Hajnoczi geschrieben: > Users have reported that qcow2 internal snapshot creation is slow. I filed a > bug report at https://bugs.launchpad.net/qemu/+bug/1126369. > > This patch series reduces the time for qcow2 internal snapshot creation > significantly, from more than 3 minutes to under 1 second. > > In the process of removing unnecessary cache flushes, I also stumbled upon > instances of bdrv_flush(bs->file) where we really want to flush metadata > updates. Since qcow2 caches metadata this actually does not write out the > metadata updates to disk! The fix is either bdrv_flush(bs) or a more specific > cache flush (e.g. refcount block cache). > > This series passes qemu-iotests. Thanks, applied all to the block branch. Kevin