Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2015 11:24:03 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        freebsd-geom@freebsd.org
Subject:   Re: RFC: Pass TRIM through GELI
Message-ID:  <501bca86.508d8e26@fabiankeil.de>
In-Reply-To: <20150314151453.GJ24274@over-yonder.net>
References:  <20150308000131.GP1742@over-yonder.net> <20150314151453.GJ24274@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/nNyi7q91bdbUcrQB5QG7+Ze
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

"Matthew D. Fuller" <fullermd@over-yonder.net> wrote:

> > I've done a quick implementation of TRIM passthru support for GELI.
>=20
> Here's a slightly updated version.  Some adjustments to the manpage
> suggested by jmg@, and I've stripped out the new version and checks
> for it.
>=20
> <http://www.over-yonder.net/~fullermd/dl/geli-delete.2.patch>;

Awesome. With a kernel based on r279996 the deletes make it to
the zvol and zfs list confirms that the space is marked as free.
ZFS on GELI on zvol works as expected as well.

Additional testing revealed a NULL pointer dereference:
http://www.fabiankeil.de/sourcecode/electrobsd/g_eli_ctl_onetime-Fix-NULL-p=
ointer-dereference.diff

Fabian

--Sig_/nNyi7q91bdbUcrQB5QG7+Ze
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlUFXb8ACgkQBYqIVf93VJ33tQCfZUIG+UNrwU3JHbOYEGNQBBW3
abkAnRY022PioZ6KzlIUc3EnWSYf/88p
=I5Tk
-----END PGP SIGNATURE-----

--Sig_/nNyi7q91bdbUcrQB5QG7+Ze--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501bca86.508d8e26>