[dm-crypt] [PATCH] Speed up keyfile reading

Arno Wagner arno at wagner.name
Sat Aug 12 22:26:09 CEST 2017


On Sat, Aug 12, 2017 at 21:49:19 CEST, Michael Kjörling wrote:
> On 12 Aug 2017 21:37 +0200, from gmazyland at gmail.com (Milan Broz):
> > How big is that keyfile? (And what is underlying storage?)
> > Just wonder why it is so slow...
> > 
> > Anyway, patches look good, I will commit it later.
> 
> 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 
special filesystem, like FLASH-filesystem on a really slow 
device? Or is this a really, really large keyfile?

Regards,
Arno
-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno at 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 
"news" is "something that hardly ever happens." -- Bruce Schneier


More information about the dm-crypt mailing list