freebsd-dev/sbin/geom
Pawel Jakub Dawidek 46e3447026 Enable BIO_DELETE passthru in GELI, so TRIM/UNMAP can work as expected when
GELI is used on a SSD or inside virtual machine, so that guest can tell
host that it is no longer using some of the storage.

Enabling BIO_DELETE passthru comes with a small security consequence - an
attacker can tell how much space is being really used on encrypted device and
has less data no analyse then. This is why the -T option can be given to the
init subcommand to turn off this behaviour and -t/T options for the configure
subcommand can be used to adjust this setting later.

PR:		198863
Submitted by:	Matthew D. Fuller fullermd at over-yonder dot net

This commit also includes a fix from Fabian Keil freebsd-listen at
fabiankeil.de for 'configure' on onetime providers which is not strictly
related, but is entangled in the same code, so would cause conflicts if
separated out.
2015-08-08 09:51:38 +00:00
..
class Enable BIO_DELETE passthru in GELI, so TRIM/UNMAP can work as expected when 2015-08-08 09:51:38 +00:00
core Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc If 'req' is NULL, print error on stderr. 2011-10-25 07:34:35 +00:00
Makefile Convert sbin/ to LIBADD 2014-11-25 11:23:12 +00:00
Makefile.inc Rename the generic "CLASS" to the more specific "GEOM_CLASS". 2010-12-15 23:45:12 +00:00