From: Ian Jackson Subject: Re: [PATCH v6] libxl: add option for discard support to xl disk configuration Date: Mon, 19 May 2014 12:51:23 +0100 Message-ID: <21369.61499.949523.549356@mariner.uk.xensource.com> References: <1400493019-18114-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1400493019-18114-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: Olaf Hering Cc: stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Olaf Hering writes ("[PATCH v6] libxl: add option for discard support to xl disk configuration"): > 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. Acked-by: Ian Jackson Committed-by: Ian Jackson (I made a tiny edit to the doc file as I committed, removing a spurious comma.) Thanks, Ian.