ZFS TRIM support committed to HEAD.

Steven Hartland killing at multiplay.co.uk
Mon Sep 24 15:55:24 UTC 2012


----- Original Message ----- 
From: "Bob Bishop" <rb at gid.co.uk>
To: "Pawel Jakub Dawidek" <pjd at freebsd.org>
Cc: <freebsd-current at freebsd.org>; <freebsd-fs at freebsd.org>; "Steven Hartland" <killing at multiplay.co.uk>
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 <ADATA SSD S510 120GB 3.3.2> at ata2-master UDMA100 SATA 3Gb/s
> ad6: 114473MB <ADATA SSD S510 120GB 3.3.2> 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 at multiplay.co.uk.



More information about the freebsd-current mailing list