From owner-freebsd-current@FreeBSD.ORG Sat Jun 27 11:02:05 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9786106566C; Sat, 27 Jun 2009 11:02:05 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 260738FC13; Sat, 27 Jun 2009 11:02:04 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 246972358; Sat, 27 Jun 2009 14:02:01 +0300 Message-ID: <4A45FC24.20408@FreeBSD.org> Date: Sat, 27 Jun 2009 14:01:56 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Roman Divacky References: <4A4517BE.9040504@FreeBSD.org> <20090627101151.GA40915@freebsd.org> In-Reply-To: <20090627101151.GA40915@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current , scottl@FreeBSD.org Subject: Re: RFC: ATA to CAM integration patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2009 11:02:06 -0000 Roman Divacky wrote: > On Fri, Jun 26, 2009 at 09:47:26PM +0300, Alexander Motin wrote: >> I would like to present for testing and feedback present state of my and >> Scott work on extending CAM subsystem to support ATA in addition to >> SCSI. At this moment we have: > > this is awesome! do you plan to add support for the TRIM command support? > what would it take to teach FreeBSD to use the TRIM? I haven't looked on it yet, but I think should be really easy from disk driver point ov view. After last firmware update, my SSD should now support TRIM, so I will look on it closer, as time permit. The main question is to implement BIO_DELETE in filesystems code. I have seen in lists that UFS patches were made long time ago, but they are still not committed. Now practically the only BIO_DELETE consumer is newfs with -E option, which I have successfully used with mmcsd driver. -- Alexander Motin