From mboxrd@z Thu Jan 1 00:00:00 1970 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 p534Xf0J6fwH for ; Mon, 18 Jul 2011 12:04:27 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 18 Jul 2011 12:04:26 +0200 (CEST) Message-ID: <4E240522.4050904@redhat.com> Date: Mon, 18 Jul 2011 12:04:18 +0200 From: Milan Broz MIME-Version: 1.0 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> In-Reply-To: <20110718104529.60408311@leda.vpn.lugor.de> Content-Type: text/plain; charset=ISO-8859-1 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: Christian Hesse Cc: dm-crypt@saout.de 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. > Perhaps I really should wait for support in cryptsetup. :D In devel tree is already "--allow-discard" option for luksOpen/create command. (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.) Milan