Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2015 17:50:46 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: RFC: Pass TRIM through GELI
Message-ID:  <20150308225046.GS1742@over-yonder.net>
In-Reply-To: <54FCCFC3.4000007@multiplay.co.uk>
References:  <20150308000131.GP1742@over-yonder.net> <54FC4E99.4080202@multiplay.co.uk> <20150308223552.GR1742@over-yonder.net> <54FCCFC3.4000007@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 08, 2015 at 10:40:03PM +0000 I heard the voice of
Steven Hartland, and lo! it spake thus:
> 
> Given GEIL is all about security translating the delete to a noop
> results in a pretty serious security issue I would say as it will
> leave data which he user intended to be removed present on the
> device.

But we're not translating it to anything; we're just passing it along.
Certainly in my testing (Virtualbox-provided ada0, which doesn't TRIM,
and md(4), which does) ufs and zfs seem to get the message just fine.
If a poorly-behaved filesystem ignores the "I don't support that"
message from our provider (SSD, hard drive, md(4), whatever), wouldn't
it ignore us just the same?


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150308225046.GS1742>