From owner-freebsd-fs@FreeBSD.ORG Mon Sep 24 15:55:24 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A30AD106566B; Mon, 24 Sep 2012 15:55:24 +0000 (UTC) (envelope-from prvs=1614b6a669=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 D6D228FC0C; Mon, 24 Sep 2012 15:55:23 +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 md50000209363.msg; Mon, 24 Sep 2012 16:55:21 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Mon, 24 Sep 2012 16:55:21 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=1614b6a669=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <20CC6F2BF08D47ED802318697542A15D@multiplay.co.uk> From: "Steven Hartland" To: "Bob Bishop" , "Pawel Jakub Dawidek" References: <20120923195357.GO1454@garage.freebsd.pl> <1735E492-3C3C-491A-82E2-884E976B4BC4@gid.co.uk> <20120923222520.GS1454@garage.freebsd.pl> Date: Mon, 24 Sep 2012 16:55:20 +0100 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 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS TRIM support committed to HEAD. 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: Mon, 24 Sep 2012 15:55:24 -0000 ----- Original Message ----- From: "Bob Bishop" To: "Pawel Jakub Dawidek" Cc: ; ; "Steven Hartland" Sent: Monday, September 24, 2012 3:17 PM Subject: Re: ZFS TRIM support committed to HEAD. > Hi, > > On 23 Sep 2012, at 23:25, Pawel Jakub Dawidek wrote: > >> I have a patch against stable/8, but not stable/9: >> >> http://people.freebsd.org/~pjd/patches/zfstrim8.patch > > Running with that in an otherwise 8-STABLE GENERIC amd64 kernel, I'm getting: > > kstat.zfs.misc.zio_trim.zio_trim_bytes: 0 > kstat.zfs.misc.zio_trim.zio_trim_success: 0 > kstat.zfs.misc.zio_trim.zio_trim_unsupported: 0 > kstat.zfs.misc.zio_trim.zio_trim_failed: 2742 > > which doesn't look like it's working. The SSDs are: > > ad4: 114473MB at ata2-master UDMA100 SATA 3Gb/s > ad6: 114473MB at ata3-master UDMA100 SATA 3Gb/s > > Any suggestions? Thanks Don't think ad supports TRIM, switch to ada (ahci) and you should be good. Although I'm surprised your seeing that many reported failures as it should have disabled it on a pool level after the first few failures. Is it still increasing? 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.