Coda File System

Re: NetBSD 1.6 hanging on venus startup

From: Greg Troxel <gdt_at_ir.bbn.com>
Date: Tue, 31 Dec 2002 09:05:17 -0500
I wonder if the 'wait 5 minutes' is because venus gets some signal
which triggers the wakeup.

I thought I figured out how we end up in coda_call, but realize I was
thrown off by emacs tags lack of case sensitivity.  So I don't see
how getNewVnode ever gets called.

coda_mount()
make_coda_node()
getnewvnode()  (kern/vfs_subr.c)

getNewVnode()
coda_fhtovp()
venus_fhtovp()
coda_call()

I am uncomfortable with symbols differing only in case; it seems like
asking for trouble.


Also, I noticed that coda_call seems to tsleep first, before checking
if the needed condition is true.  I wonder if venus has already done
what it should, and it seems like this really ought to be protected
with a lock/test/sleep cycle instead.
Received on 2002-12-31 09:06:55