* dm-crypt TRIM support
@ 2011-06-28 20:52 Jeff Cook
2011-06-28 21:19 ` Milan Broz
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Cook @ 2011-06-28 20:52 UTC (permalink / raw)
To: dm-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
After mounting a LUKS partition on my SSD, I get a message that the
discard mount option is ignored. In my research, I have seen many
conflicting reports on whether this functionality was available or not.
The last reliable mail I can find was from January and indicated that an
expected release of configurable discard support over dm-crypt in
2.6.39. Can anyone let me know if this target was reached, and if not,
where development on TRIM support for dm-crypt volumes currently stands?
Thanks
Jeff
- --
Jeff Cook
jeff@deserettechnology.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4KPvIACgkQNtecAl0ONJp9sACeJkZz4TED8FcxZmt+y6Rz8w6T
xpMAn3dI7b8H7I3m/1mmKOkdO3YXl7yI
=kPKG
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dm-crypt TRIM support
2011-06-28 20:52 dm-crypt TRIM support Jeff Cook
@ 2011-06-28 21:19 ` Milan Broz
2011-07-12 17:47 ` Jeff Cook
0 siblings, 1 reply; 4+ messages in thread
From: Milan Broz @ 2011-06-28 21:19 UTC (permalink / raw)
To: jeff, device-mapper development
On 06/28/2011 10:52 PM, Jeff Cook wrote:
> After mounting a LUKS partition on my SSD, I get a message that the
> discard mount option is ignored. In my research, I have seen many
> conflicting reports on whether this functionality was available or not.
> The last reliable mail I can find was from January and indicated that an
> expected release of configurable discard support over dm-crypt in
> 2.6.39. Can anyone let me know if this target was reached, and if not,
> where development on TRIM support for dm-crypt volumes currently stands?
right, dm-crypt doesn't support TRIM yet.
I would like to add optional support for it but no code is submitted yet.
No ETA currently.
Milan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dm-crypt TRIM support
2011-06-28 21:19 ` Milan Broz
@ 2011-07-12 17:47 ` Jeff Cook
2011-07-13 11:30 ` Christian Hesse
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Cook @ 2011-07-12 17:47 UTC (permalink / raw)
To: Milan Broz; +Cc: device-mapper development
Thank you for the update. I would really like TRIM support on my
dm-crypt SSD and I'm not worried about the revelations that may be
discernible regarding trimmed space, etc.
Can you help me understand how I can pass the TRIM command through the
dm-crypt layer? I've looked through the device-mapper code in the kernel
and based on the implementation of TRIM in other dm clients it looks
like it should be relatively straightforward to get the message sent in
dm-crypt. Can you give me a couple of pointers or a brief outline of
what functions would need modification? I am not concerned with making
this optional at the moment since the patch would not (yet) be aimed for
mainline inclusion.
Please let me know if I am mistaken. I appreciate the quick response and
the efforts you've put toward this so far. Thanks again. :)
From
Jeff
Jeff Cook
(801) 231-3157
jeff@deserettechnology.com
On 06/28/2011 03:19 PM, Milan Broz wrote:
> On 06/28/2011 10:52 PM, Jeff Cook wrote:
>> After mounting a LUKS partition on my SSD, I get a message that the
>> discard mount option is ignored. In my research, I have seen many
>> conflicting reports on whether this functionality was available or not.
>> The last reliable mail I can find was from January and indicated that an
>> expected release of configurable discard support over dm-crypt in
>> 2.6.39. Can anyone let me know if this target was reached, and if not,
>> where development on TRIM support for dm-crypt volumes currently stands?
>
> right, dm-crypt doesn't support TRIM yet.
>
> I would like to add optional support for it but no code is submitted yet.
> No ETA currently.
>
> Milan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dm-crypt TRIM support
2011-07-12 17:47 ` Jeff Cook
@ 2011-07-13 11:30 ` Christian Hesse
0 siblings, 0 replies; 4+ messages in thread
From: Christian Hesse @ 2011-07-13 11:30 UTC (permalink / raw)
To: jeff, device-mapper development; +Cc: Milan Broz
Jeff Cook <jeff@deserettechnology.com> on Tue, 12 Jul 2011 11:47:14
-0600:
> Thank you for the update. I would really like TRIM support on my
> dm-crypt SSD and I'm not worried about the revelations that may be
> discernible regarding trimmed space, etc.
I second that. I think TRIM on dm-crypt brings enough security for most
people (including me). It's a lot worse to not use dm-crypt to get TRIM
support. And trashing your SSD is not a good choice either.
Would it have to be configurable? If anybody does not want TRIM it
would still be possible to disable it by mounting filesystems with '-o
nodiscard'.
--
Schoene Gruesse
Chris
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-13 11:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 20:52 dm-crypt TRIM support Jeff Cook
2011-06-28 21:19 ` Milan Broz
2011-07-12 17:47 ` Jeff Cook
2011-07-13 11:30 ` Christian Hesse
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.