From owner-freebsd-fs@FreeBSD.ORG Fri Dec 10 05:21:38 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39E12106566C; Fri, 10 Dec 2010 05:21:38 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from out-0.mx.aerioconnect.net (out-0-6.mx.aerioconnect.net [216.240.47.66]) by mx1.freebsd.org (Postfix) with ESMTP id EF7978FC16; Fri, 10 Dec 2010 05:21:37 +0000 (UTC) Received: from idiom.com (postfix@mx0.idiom.com [216.240.32.160]) by out-0.mx.aerioconnect.net (8.13.8/8.13.8) with ESMTP id oBA5Lbfo007943; Thu, 9 Dec 2010 21:21:37 -0800 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 19E3C2D6012; Thu, 9 Dec 2010 21:21:35 -0800 (PST) Message-ID: <4D01B8DE.1080601@freebsd.org> Date: Thu, 09 Dec 2010 21:21:34 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Jeremy Chadwick References: <20101208225352.GK33073@deviant.kiev.zoral.com.ua> <201012082356.oB8NuxwX040914@chez.mckusick.com> <20101209103411.GL33073@deviant.kiev.zoral.com.ua> <4D01731C.4070802@freebsd.org> <20101210004452.GA15765@icarus.home.lan> In-Reply-To: <20101210004452.GA15765@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 216.240.47.51 Cc: Kirk McKusick , pjd@freebsd.org, freebsd-fs@freebsd.org, Oliver Fromme Subject: Re: TRIM support for UFS? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 05:21:38 -0000 On 12/9/10 4:44 PM, Jeremy Chadwick wrote: > On Thu, Dec 09, 2010 at 04:23:56PM -0800, Julian Elischer wrote: >> On 12/9/10 2:34 AM, Kostik Belousov wrote: >> >> [patch] >> >> commit when ready.. I'm looking forwards to being able to try it out. > And how does one actually verify TRIM is working? Most SSDs I've used > do not have a SMART attribute that can help determine this. I would > rather not make a bunch of assumptions about Attributes 226, 232, or 233 > to help give some indication of it working. > > For folks to test this, there needs to be some indicator/verification > mechanism that it's working. > On our (fusion-io) cards we do not go via scsi or SATA so we have our own interfaces which can provide all this information.. (tons of sysctls in FreeBSD.. tons of /proc entries in linux)