From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH 0 of 1] Patch to alter BLKIF_OP_TRIM to BLKIF_OP_DISCARD (v1). Date: Tue, 30 Aug 2011 23:40:44 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, Ian.Jackson@eu.citrix.com, stefano.stabellini@eu.citrix.com, Ian.Campbell@citrix.com, lidongyang@novell.com, owen.smith@citrix.com, paul.durrant@citrix.c Cc: konrad.wilk@oracle.com List-Id: xen-devel@lists.xenproject.org Hey guys, Pasi mentioned on Li's (and Owen's) patches which provide TRIM/UNMAP support to the Linux backend/frontend that: " Isn't the generic name for this functionality "discard" in Linux? and "trim" being the ATA specific discard-implementation, and "scsi unmap" the SAS/SCSI specific discard-implementation? Just wondering.. " and it sounds right to me. The problem is of course that the 'feature-trim' is already in the interface - but I was wondering how much it is set in stone? Could it be feasible to modify the backend/frontend in Citrix product to use 'feature-discard' instead? And naturally also the Novell drivers.