From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v1.tansi.org (mail.tansi.org [84.19.178.47]) by mail.server123.net (Postfix) with ESMTP for ; Sat, 12 Aug 2017 22:26:10 +0200 (CEST) Received: from gatewagner.dyndns.org (unknown [212.51.156.222]) by v1.tansi.org (Postfix) with ESMTPA id 336191400F5 for ; Sat, 12 Aug 2017 22:25:44 +0200 (CEST) Date: Sat, 12 Aug 2017 22:26:09 +0200 From: Arno Wagner Message-ID: <20170812202609.GC21364@tansi.org> References: <9EDq0tUK50reoNb7H7rhzowMGHXuVEzq1xrZMDjd71sYix4wg-Jzrk8k2TUcRP1FvUwiISuis9r-z525aSv3bdiROKNILCDALP1XfWdcuYg=@protonmail.com> <20170812194919.GR31146@yeono.dyn.pirkum.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20170812194919.GR31146@yeono.dyn.pirkum.se> Subject: Re: [dm-crypt] [PATCH] Speed up keyfile reading List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Sat, Aug 12, 2017 at 21:49:19 CEST, Michael Kj=F6rling wrote: > On 12 Aug 2017 21:37 +0200, from gmazyland@gmail.com (Milan Broz): > > How big is that keyfile? (And what is underlying storage?) > > Just wonder why it is so slow... > >=20 > > Anyway, patches look good, I will commit it later. >=20 > FWIW, I concur with both. The patch looks fine to me, but it's weird > that it should be needed in the first place. Indeed. Usually, the read-ahead of the VFS system should make this a still pretty fast operation. Is this on some=20 special filesystem, like FLASH-filesystem on a really slow=20 device? Or is this a really, really large keyfile? Regards, Arno --=20 Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of=20 "news" is "something that hardly ever happens." -- Bruce Schneier