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

Derrick J Brashear shadow@dementia.org
Tue, 15 Apr 2003 01:18:24 -0400 (EDT)


On Mon, 14 Apr 2003, Rainer Toebbicke wrote:

> If the (pthreaded-) fileserver encounters an internal error in the callback
> structures, it'll call ShutDown() (callback.c). Same for certain situations in
> host.c.
>
> In most cases ShutDown() is called with the H_LOCK lock held, and will
> eventually call PrintCounters(). This in turn calls routines that acquire all
> sorts of locks, in particular H_LOCK in h_GetWorkStats(), at which point a
> deadlock situation arises.

It's already fixed another way in 1.2.9