OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_68-77-g7c24f66
Gerrit Code Review
gerrit@openafs.org
Tue, 12 Jan 2010 10:27:10 -0800 (PST)
The following commit has been merged in the master branch:
commit 7c24f660474dea82a96e6c65883e53c9ad77379f
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Dec 17 13:59:57 2009 -0600
DAFS: avoid saving fileserver state when panicing
When ShutDownAndCore is called with dopanic=1, avoid trying to save
fileserver state. When we are panic'ing it is very possible that the
thread that called ShutDownAndCore is one of the background threads we
are waiting for, or that the calling thread is holding H_LOCK. Since we
are panicing, the fileserver state is probably not consistent anyway, so
just avoid trying to save state altogether, and avoid a possible
deadlock.
Change-Id: If727808bfdfda74a4ec0e65b27ef9c77fbee4aae
Reviewed-on: http://gerrit.openafs.org/997
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/viced/viced.c | 33 +++++++++++++++++++--------------
1 files changed, 19 insertions(+), 14 deletions(-)
--
OpenAFS Master Repository