RFC: Pass TRIM through GELI
Fabian Keil
freebsd-listen at fabiankeil.de
Sun Mar 15 10:24:11 UTC 2015
"Matthew D. Fuller" <fullermd at over-yonder.net> wrote:
> > I've done a quick implementation of TRIM passthru support for GELI.
>
> 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.
>
> <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-pointer-dereference.diff
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20150315/848898f0/attachment.sig>
More information about the freebsd-geom
mailing list