From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3rdS-0001u7-QY for qemu-devel@nongnu.org; Wed, 14 Sep 2011 11:44:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3rdO-0001TO-Od for qemu-devel@nongnu.org; Wed, 14 Sep 2011 11:44:26 -0400 Received: from verein.lst.de ([213.95.11.211]:58617 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3rdO-0001T6-JE for qemu-devel@nongnu.org; Wed, 14 Sep 2011 11:44:22 -0400 Date: Wed, 14 Sep 2011 17:44:22 +0200 From: Christoph Hellwig Message-ID: <20110914154422.GA13438@lst.de> References: <1315495505-28906-1-git-send-email-pbonzini@redhat.com> <1315495505-28906-7-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1315495505-28906-7-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH 06/12] nbd: support NBD_CMD_TRIM in the server List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Thu, Sep 08, 2011 at 05:24:59PM +0200, Paolo Bonzini wrote: > Map it to bdrv_discard. The server can now expose NBD_FLAG_SEND_TRIM. Note that discard support without a way to communicate the alignment/size requirements, and without the discard_zeroes_data flag is pretty much useless. Can you work with the upstream developers to make sure it's actually useful?