Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Aug 2015 09:51:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 198863] [patch] geli: TRIM passthru
Message-ID:  <bug-198863-8-SlZqgfMt7F@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198863-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198863-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198863

--- Comment #6 from commit-hook@freebsd.org ---
A commit references this bug:

Author: pjd
Date: Sat Aug  8 09:51:41 UTC 2015
New revision: 286444
URL: https://svnweb.freebsd.org/changeset/base/286444

Log:
  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.

Changes:
  head/sbin/geom/class/eli/geli.8
  head/sbin/geom/class/eli/geom_eli.c
  head/sys/geom/eli/g_eli.c
  head/sys/geom/eli/g_eli.h
  head/sys/geom/eli/g_eli_ctl.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198863-8-SlZqgfMt7F>