[OpenAFS-devel] fileserver deadlocks after internal error in callback.c

Derrick J Brashear shadow@dementia.org
Tue, 15 Apr 2003 11:39:32 -0400 (EDT)


On Tue, 15 Apr 2003, Rainer Toebbicke wrote:

> Checking on 1.2.9-rc4 and in the 'cvsweb.cgi' tree: CleanupTimedOutCallBacks_r
> in callback.c holds the H_LOCK and may well call ShutDown(), eventually
> falling through to h_GetWorkStats() which starts with H_LOCK.
>
> I didn't see that lock being dropped but might have missed something, but what?

The lock isn't being dropped explicitly. Instead, we arrange for threads
that might hold the lock to never take the signal.