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 XjsioLbzf_nl for ; Mon, 18 Jul 2011 12:16:26 +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 ; Mon, 18 Jul 2011 12:16:26 +0200 (CEST) Date: Mon, 18 Jul 2011 12:16:25 +0200 From: Christian Hesse Message-ID: <20110718121625.5f997ca7@leda.vpn.lugor.de> In-Reply-To: <4E240522.4050904@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> <20110715155908.3e08b9ec@io.vpn.lugor.de> <4E205321.20701@redhat.com> <20110718104529.60408311@leda.vpn.lugor.de> <4E240522.4050904@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Milan Broz on Mon, 18 Jul 2011 12:04:18 +0200: > On 07/18/2011 10:45 AM, Christian Hesse wrote: > > If I understand correctly the table reload suspends my device? With the > > root partition inside the crypt device I would have to do this in initram > > disk I think... > > No. "load" will just load table into inactive slot. Following "resume" will > implicitly suspend device and immediately resume with new table (in kernel) > so it should be safe. Ok, good to know. > > Perhaps I really should wait for support in cryptsetup. :D > > In devel tree is already "--allow-discard" option for luksOpen/create > command. Already compiled. ;) > (But I guess /etc/ctypttab need new option here as well for system > devices but that's must be fixed by initscripts. There will be no > cryptsetup command to enable it on-fly, just for activation commands.) I do not use crypttab. All I need is a modified hook in my initrd... -- Schoene Gruesse Chris