Subject: Re: puffs locking against self problem
To: Greg Troxel <gdt@ir.bbn.com>
From: Antti Kantee <pooka@netbsd.org>
List: tech-kern
Date: 01/30/2007 12:27:25
On Mon Jan 29 2007 at 21:44:04 -0500, Greg Troxel wrote:
> I readily admit that I did something bogus, but I think I really did
> it accidentally earlier while not knowing what I was doing with puffs,
> and managed to stumble on it again while trying many things that
> worked fine.
> 
> # gdb pnullfs
> (gdb) run -s -o ro / /mnt
> Starting program: /usr/home/gdt/examples/pnullfs/pnullfs -s -o ro / /mnt
> 
> That's sick, I know, but I think I didn't get what nullfs did or what
> it's arguments were and typed something, umm, minimal.
> 
> This resulted in a wedged server

That's a "don't do that" for now.  I plan to fix the locking not to keep
kernel locks while in userspace, but haven't gotten around to it.

-- 
Antti Kantee <pooka@iki.fi>                     Of course he runs NetBSD
http://www.iki.fi/pooka/                          http://www.NetBSD.org/
    "la qualité la plus indispensable du cuisinier est l'exactitude"