From owner-freebsd-fs@FreeBSD.ORG Tue Sep 25 16:24:36 2012 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 0285A106564A; Tue, 25 Sep 2012 16:24:36 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id BA8358FC17; Tue, 25 Sep 2012 16:24:35 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 99C0A589; Tue, 25 Sep 2012 18:23:28 +0200 (CEST) Date: Tue, 25 Sep 2012 18:24:53 +0200 From: Pawel Jakub Dawidek To: Glen Barber Message-ID: <20120925162453.GA1391@garage.freebsd.pl> References: <20120923195357.GO1454@garage.freebsd.pl> <20120924002041.GA1303@glenbarber.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <20120924002041.GA1303@glenbarber.us> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) 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: Tue, 25 Sep 2012 16:24:36 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 23, 2012 at 08:20:41PM -0400, Glen Barber wrote: > Hi Pawel, >=20 > On Sun, Sep 23, 2012 at 09:53:58PM +0200, Pawel Jakub Dawidek wrote: > > FYI, I just committed TRIM support to ZFS, especially useful for > > SSD-only pools. This is something I implemented long time ago, but was > > now motivated to get back to it and commit it finally by some great > > fixes and improvements from the zfsonlinux project (made by Etienne > > Dechamps). > >=20 >=20 > Great! Thanks for this. >=20 > Any chance you can document the following sysctls? None od the kstat sysctls are documented, they emulate kstat framework =66rom Solaris. We would need to modify a lot of vendor code to document those in 'sysctl -d' output. It still would be good to have them documented even elsewhere, eventhough most are rather self-explanatory. > root@kaos:/root # sysctl -d kstat.zfs.misc.zio_trim > kstat.zfs.misc.zio_trim:=20 > kstat.zfs.misc.zio_trim.zio_trim_bytes:=20 > kstat.zfs.misc.zio_trim.zio_trim_success:=20 > kstat.zfs.misc.zio_trim.zio_trim_unsupported:=20 > kstat.zfs.misc.zio_trim.zio_trim_failed:=20 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBh2tUACgkQForvXbEpPzSGHQCff2BiCYiBxb3jN2V9j/OVEWjP d0AAn3n6Xp3mWAo5mp7S/4OAQ2DMClv5 =Bv69 -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--