WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 2/2] make blkback driver handle trim request

To: Li Dongyang <lidongyang@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2/2] make blkback driver handle trim request
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Wed, 10 Aug 2011 14:40:21 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 10 Aug 2011 04:41:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1312873895-19698-2-git-send-email-lidongyang@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1312873895-19698-1-git-send-email-lidongyang@xxxxxxxxxx> <1312873895-19698-2-git-send-email-lidongyang@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Tue, Aug 09, 2011 at 03:11:35PM +0800, Li Dongyang wrote:
> now blkback driver can handle the trim request from guest, we will
> forward the request to phy if it's really a device has trim, or we'll
> punch a hole on the image file.
> 

Hmm.. the 1/2 patch has 'discard' in the subject, while this has 'trim'.. is 
that intentional? 
I guess 'discard' is the generic name, while protocol specific names are TRIM 
for ATA, and SCSI UNMAP for SAS ?

Also: Shouldn't this be against upstream Linux 3.x these days, aswell, now when 
both blkback and blkfront are upstream?

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel