From owner-freebsd-current@FreeBSD.ORG Sun Jan 20 17:02:13 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8687E503 for ; Sun, 20 Jan 2013 17:02:13 +0000 (UTC) (envelope-from prvs=173216f972=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 26C7DB8D for ; Sun, 20 Jan 2013 17:02:12 +0000 (UTC) Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50001777366.msg for ; Sun, 20 Jan 2013 17:02:05 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Sun, 20 Jan 2013 17:02:05 +0000 (not processed: message from valid local sender) X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=173216f972=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-current@FreeBSD.org Message-ID: <4F089B368D7F446B85A57D52A6EBF712@multiplay.co.uk> From: "Steven Hartland" To: "matt" , References: <50FBBB60.5070702@gmail.com> Subject: Re: ZFS Trim on mps? Date: Sun, 20 Jan 2013 17:02:13 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 20 Jan 2013 17:02:13 -0000 ----- Original Message ----- From: "matt" To: Sent: Sunday, January 20, 2013 9:39 AM Subject: ZFS Trim on mps? > Should I be getting trim with ZFS on an mps device? > > Disks are SATA ssd (830s), only "unsupported" is being reported. > Do I need to set the cam "da" delete method to something (unmap?), or is > ZFS trim only supported on ahci sata controllers? > > vfs.zfs.trim_disable: 0 > vfs.zfs.trim_txg_limit: 64 > kstat.zfs.misc.zio_trim.bytes: 0 > kstat.zfs.misc.zio_trim.success: 0 > kstat.zfs.misc.zio_trim.unsupported: 281 I've got a patch which TRIM support to cam/scsi_da on 8.3, not sure as yet how much work its going to be to port to HEAD but your welcome to try and test. We're done loads of testing on it and we are using it in production so am confident of its quality. LMK if you want the patch to test. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.