1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sbin/geom/class
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
..
cache Add META_MODE support. 2015-06-13 19:20:56 +00:00
concat Add META_MODE support. 2015-06-13 19:20:56 +00:00
eli Enable BIO_DELETE passthru in GELI, so TRIM/UNMAP can work as expected when 2015-08-08 09:51:38 +00:00
journal Add META_MODE support. 2015-06-13 19:20:56 +00:00
label Add META_MODE support. 2015-06-13 19:20:56 +00:00
mirror Add META_MODE support. 2015-06-13 19:20:56 +00:00
mountver Add META_MODE support. 2015-06-13 19:20:56 +00:00
multipath Fix contraction spotted by igor(1) and remove 2 .Ed spotted by mandoc(1). 2015-07-18 03:14:49 +00:00
nop Add META_MODE support. 2015-06-13 19:20:56 +00:00
part lseek() allows an offset to be set beyond the end of file. Using 2015-07-21 06:18:42 +00:00
raid Add META_MODE support. 2015-06-13 19:20:56 +00:00
raid3 Add META_MODE support. 2015-06-13 19:20:56 +00:00
sched Add META_MODE support. 2015-06-13 19:20:56 +00:00
shsec Add META_MODE support. 2015-06-13 19:20:56 +00:00
stripe Add META_MODE support. 2015-06-13 19:20:56 +00:00
virstor Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Revert r284417 it is not necessary anymore 2015-06-15 19:28:07 +00:00