From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC6fO-0002Wq-Jn for qemu-devel@nongnu.org; Mon, 26 Mar 2012 05:56:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SC6fN-0007fG-1D for qemu-devel@nongnu.org; Mon, 26 Mar 2012 05:56:46 -0400 Received: from verein.lst.de ([213.95.11.211]:54791 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC6fM-0007ep-Qv for qemu-devel@nongnu.org; Mon, 26 Mar 2012 05:56:44 -0400 Date: Mon, 26 Mar 2012 11:56:42 +0200 From: Christoph Hellwig Message-ID: <20120326095642.GA5716@lst.de> References: <1331226917-6658-7-git-send-email-pbonzini@redhat.com> <4F5A31B2.3050701@redhat.com> <4F5A46A1.4000508@redhat.com> <1331402560.8577.46.camel@watermelon.coderich.net> <4F5DEBCE.3040409@redhat.com> <1331665990.24052.42.camel@watermelon.coderich.net> <4F604B98.9090606@redhat.com> <4F60889F.6030401@redhat.com> <20120324152926.GB13014@lst.de> <20120326094407.GB2501@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120326094407.GB2501@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH 06/17] block: use bdrv_{co, aio}_discard for write_zeroes operations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Kevin Wolf , Paolo Bonzini , Richard Laager , Christoph Hellwig , qemu-devel@nongnu.org On Mon, Mar 26, 2012 at 10:44:07AM +0100, Daniel P. Berrange wrote: > This suggests that there be a new command line param to '-drive' to turn > discard support on/off, since QEMU can't reliably know if the raw file > it is given is intended to be fully pre-allocated by the mgmt app. Yes.