From: Ian Jackson Subject: Re: [PATCH v5] libxl: add option for discard support to xl disk configuration Date: Mon, 12 May 2014 15:28:40 +0100 Message-ID: <21360.55960.678251.506921@mariner.uk.xensource.com> References: <1399637383-27742-1-git-send-email-olaf@aepfle.de> <20140509121846.GA28727@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140509121846.GA28727@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: Olaf Hering Cc: xen-devel@lists.xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Olaf Hering writes ("Re: [PATCH v5] libxl: add option for discard support to xl disk configuration"): > 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 Do you mean you want these patches backported from our qemu upstream to the old ("traditional") xen qemu fork ? I'm the maintainer for the latter but it's very much in the deep freeze, maintenance wise. I don't think we're going to add discard support to it. If there's something wrong with the io accounting in it I would consider a backported patch to fix it. Thanks, Ian.