From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpZbt-0005XH-I6 for qemu-devel@nongnu.org; Thu, 20 Jun 2013 03:48:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpZbq-0003xY-O1 for qemu-devel@nongnu.org; Thu, 20 Jun 2013 03:48:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpZVh-0001xi-EX for qemu-devel@nongnu.org; Thu, 20 Jun 2013 03:42:25 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5K7gOa9023850 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 20 Jun 2013 03:42:24 -0400 Date: Thu, 20 Jun 2013 09:42:23 +0200 From: Stefan Hajnoczi Message-ID: <20130620074223.GA15082@stefanha-thinkpad.redhat.com> References: <1371642261-18513-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1371642261-18513-1-git-send-email-kwolf@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/5] qcow2: Discard freed clusters List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org On Wed, Jun 19, 2013 at 01:44:16PM +0200, Kevin Wolf wrote: > This series adds options to make qcow2 discard freed clusters, in several > categories. By default, only freed clusters related to snapshots (i.e. mainly > snapshot deletion) are discarded. > > v2: > - Removed leftover debug code > - Don't discard after COW (overwriting compressed clusters) > - Changed some commas into semicolons > > Kevin Wolf (5): > Revert "block: Disable driver-specific options for 1.5" > qcow2: Add refcount update reason to all callers > qcow2: Options to enable discard for freed clusters > qcow2: Batch discards > block: Always enable discard on the protocol level > > block.c | 2 +- > block/qcow2-cluster.c | 41 ++++++++++---- > block/qcow2-refcount.c | 136 +++++++++++++++++++++++++++++++++++++++-------- > block/qcow2-snapshot.c | 6 ++- > block/qcow2.c | 30 ++++++++++- > block/qcow2.h | 32 +++++++++-- > blockdev.c | 118 ++-------------------------------------- > tests/qemu-iotests/group | 2 +- > 8 files changed, 214 insertions(+), 153 deletions(-) > > -- > 1.8.1.4 > Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan