Date: Mon, 24 Sep 2012 18:16:55 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-fs@freebsd.org, Bob Bishop <rb@gid.co.uk>, freebsd-current@freebsd.org Subject: Re: ZFS TRIM support committed to HEAD. Message-ID: <20120924161654.GA1413@garage.freebsd.pl> In-Reply-To: <20CC6F2BF08D47ED802318697542A15D@multiplay.co.uk> References: <20120923195357.GO1454@garage.freebsd.pl> <1735E492-3C3C-491A-82E2-884E976B4BC4@gid.co.uk> <20120923222520.GS1454@garage.freebsd.pl> <D637D49E-27B3-4169-BC27-D5A7409040B9@gid.co.uk> <20CC6F2BF08D47ED802318697542A15D@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 24, 2012 at 04:55:20PM +0100, Steven Hartland wrote: > ----- Original Message -----=20 > From: "Bob Bishop" <rb@gid.co.uk> > To: "Pawel Jakub Dawidek" <pjd@freebsd.org> > Cc: <freebsd-current@freebsd.org>; <freebsd-fs@freebsd.org>; "Steven Hart= land" <killing@multiplay.co.uk> > Sent: Monday, September 24, 2012 3:17 PM > Subject: Re: ZFS TRIM support committed to HEAD. >=20 >=20 > > Hi, > >=20 > > On 23 Sep 2012, at 23:25, Pawel Jakub Dawidek wrote: > >=20 > >> I have a patch against stable/8, but not stable/9: > >>=20 > >> http://people.freebsd.org/~pjd/patches/zfstrim8.patch > >=20 > > Running with that in an otherwise 8-STABLE GENERIC amd64 kernel, I'm ge= tting: > >=20 > > 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 > >=20 > > which doesn't look like it's working. The SSDs are: > >=20 > > 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 > >=20 > > Any suggestions? Thanks >=20 > Don't think ad supports TRIM, switch to ada (ahci) and you should be good. >=20 > Although I'm surprised your seeing that many reported failures as it shou= ld > have disabled it on a pool level after the first few failures. >=20 > Is it still increasing? Note that 'failed' count is increasing, not the 'unsupported' count. We disable TRIM automatically if we get EOPNOTSUPP and ATA is returning some other error(s). --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBgh3YACgkQForvXbEpPzS7qgCg0x79vuGo2JZOIJbhCoZWaOyl vj8AnijIdfW+bQjm9+99NUvNCVMmUWnQ =1+ig -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120924161654.GA1413>