[dm-crypt] Status of trim for SSds?

Milan Broz mbroz at redhat.com
Thu Jul 14 17:55:25 CEST 2011


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).

My opinion is that TRIM for encrypted disk is stupid idea, but so many people
requested it... So enjoy shooting yourself in the foot ;-)

Note - it will NEVER be enabled by default.

Milan


More information about the dm-crypt mailing list