lkml.org 
[lkml]   [1996]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: z-Re: Fixes to loop.c et al. for DES,IDEA,stego now done
> 
> -----BEGIN PGP SIGNED MESSAGE-----
>
> In article <Pine.LNX.3.91.890918054255.204A-100000@HellSpawn>,
> Damien Lucifer <root@hellspawn.Berkeley.EDU> wrote:
> >
> >
> >On Tue, 6 Aug 1996, Ian Goldberg wrote:
> >> This directory contains patches to the Linux kernel to enable
encryption and
> >> steganography of filesystems. Encryption allows you to have a scrambled
> >> partition or file that, with the proper pass phrase, you can mount,
just
> >So the question on my mind, is can the loop device(s) be
> >multi-threaded? I decided to be clever one evening and moved all my home
> >directories to cfs directories.. unfortunatly when two instances of the
> >same user try to hit their CFS home directory at once, the whole machine
> >goes flubflub and and needs to be rebooted. Single threading didnt seem
> >like such a terrible thing when I installed cfs, but lately its become
> >rather restrictive and ugly to deal with. Please tell me theres a better
> >way. :)
>
> Well, unlike CFS, loop.c is part of the Linux kernel, which is
single-threaded,
> so I guess loop.c is also single-threaded. However, I took care that
deadlocks
> be avoided (mounting a loop device as another loop device (for example,
> hiding an encrypted filesystem as stego) caused me to think a bit, but I'm
> fairly confident that it works now).
>
> - Ian

It's both better and worse than you thought. There _is_ a deadlock with the
loop device (and maybe MD in raid mode). But it's in the kernel, not in the
driver.
I finally tracked it down and fixed it, but am having trouble getting it to
Linus (operator error!)

I also have a performance improvement to loop.c, and I'll sent it along as
soon as I get the deadlock fix into the kernel.

Regards,
Ray



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.025 / U:3.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site