[dm-crypt] Status of trim for SSds?

Christian Hesse list at eworm.de
Fri Jul 15 15:59:08 CEST 2011

Milan Broz <mbroz at redhat.com> on Thu, 14 Jul 2011 17:55:25 +0200:
> On 07/14/2011 04:46 PM, André Gall wrote:
> > Is the support of TRIM a feature that's planned for the future? If
> > so, when? If not, why not?
> Patch is in dm-devel list, hopefully in linux-next soon for kernel
> 3.1.
> http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/dm-crypt-optionally-support-discard-requests.patch
> Optional cryptsetup support will follow later (currently you have to
> use dmsetup).

Ok, I do have a kernel with discard on dm-crypt support now. How do I
set this option allow_discards for my device using dmsetup? dmsetup's
manpage does not tell anything about it.
Schoene Gruesse

More information about the dm-crypt mailing list