From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH v5] libxl: add option for discard support to xl disk configuration Date: Fri, 9 May 2014 14:18:46 +0200 Message-ID: <20140509121846.GA28727@aepfle.de> References: <1399637383-27742-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1399637383-27742-1-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: stefano.stabellini@eu.citrix.com Cc: ian.jackson@eu.citrix.com, ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, May 09, Olaf Hering wrote: > Handle new boolean option discard/no-discard for disk configuration. It > is supposed to disable discard support if file based backing storage was > intentionally created non-sparse to avoid fragmentation of the file. > > The option intended for the backend driver. A new boolean property > "discard-enable" is written to the backend node. An upcoming patch for > qemu will make use of this property. The kernel blkback driver may be > updated as well to disable discard for phy based backing storage. Stefano, please backport these changes from qemu.git to qemu-xen.git so that discard: 58da5b1e01a586eb5a52ba3eec342d6828269839 xen_disk: fix io accounting f31352041bdde436c3f6d07e1525a42e48dec215 xen_disk: add discard support Thanks. Olaf