Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yilC8rJ_Ncqi for ; Fri, 15 Jul 2011 16:06:52 +0200 (CEST) Received: from mx.mylinuxtime.de (mx.mylinuxtime.de [IPv6:2a01:138:b005:1::a05:1d1]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Fri, 15 Jul 2011 16:06:52 +0200 (CEST) Date: Fri, 15 Jul 2011 15:59:08 +0200 From: Christian Hesse Message-ID: <20110715155908.3e08b9ec@io.vpn.lugor.de> In-Reply-To: <4E1F116D.50402@redhat.com> References: <20110711231732.596b8622.ldarby@tuffmail.com> <20110712124717.GC31326@tansi.org> <20110714110425.GB13900@tansi.org> <20110714133533.GA19714@tansi.org> <4E1EF95D.40406@web.de> <4E1F014E.40508@andregall.de> <4E1F116D.50402@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] Status of trim for SSds? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Milan Broz Cc: dm-crypt@saout.de, =?ISO-8859-1?B?QW5kcuk=?= Gall Milan Broz on Thu, 14 Jul 2011 17:55:25 +0200: > On 07/14/2011 04:46 PM, Andr=E9 Gall wrote: >=20 > > Is the support of TRIM a feature that's planned for the future? If > > so, when? If not, why not? >=20 > 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 >=20 > 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. --=20 Schoene Gruesse Chris