Received: from eggs.gnu.org ([208.118.235.92]:37792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUXQT-0004M5-MF for qemu-devel@nongnu.org; Tue, 23 Apr 2013 03:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUXQQ-0000Cd-O1 for qemu-devel@nongnu.org; Tue, 23 Apr 2013 03:14:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUXQQ-0000CN-Gu for qemu-devel@nongnu.org; Tue, 23 Apr 2013 03:14:02 -0400 Date: Tue, 23 Apr 2013 09:13:49 +0200 From: Stefan Hajnoczi Message-ID: <20130423071349.GB6743@stefanha-thinkpad.redhat.com> References: <1366697015-25121-1-git-send-email-namei.unix@gmail.com> <1366697015-25121-2-git-send-email-namei.unix@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366697015-25121-2-git-send-email-namei.unix@gmail.com> Subject: Re: [Qemu-devel] [PATCH v4 1/3] sheepdog: add discard/trim support for sheepdog List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Yuan Cc: Kevin Wolf , Paolo Bonzini , sheepdog@lists.wpkg.org, qemu-devel@nongnu.org, MORITA Kazutaka On Tue, Apr 23, 2013 at 02:03:33PM +0800, Liu Yuan wrote: > From: Liu Yuan > > The 'TRIM' command from VM that is to release underlying data storage for > better thin-provision is already supported by the Sheepdog. > > This patch adds the TRIM support at QEMU part. > > For older Sheepdog that doesn't support it, we return 0(success) to upper layer. > > Cc: MORITA Kazutaka > Cc: Kevin Wolf > Cc: Stefan Hajnoczi > Cc: Paolo Bonzini > Signed-off-by: Liu Yuan > --- > block/sheepdog.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 63 insertions(+), 1 deletion(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan