From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [PATCH 2/2] make blkback driver handle trim request Date: Wed, 10 Aug 2011 14:40:21 +0300 Message-ID: <20110810114021.GD32373@reaktio.net> References: <1312873895-19698-1-git-send-email-lidongyang@novell.com> <1312873895-19698-2-git-send-email-lidongyang@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1312873895-19698-2-git-send-email-lidongyang@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Li Dongyang Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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