Date: Fri, 29 Aug 2008 15:47:53 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_witness.c Message-ID: <200808291548.m7TFm3LD042063@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-08-29 15:47:53 UTC
FreeBSD src repository
Modified files:
sys/kern subr_witness.c
Log:
SVN rev 182446 on 2008-08-29 15:47:53Z by attilio
- Make witness_watch a 3 state value.
1 means that witness is up and running.
0 means that witness is disabled but that it can be established later
again in effective way.
-1 means that witness is disabled permanently
- Fix a bug causing kernel to panic on witness disabling through
witness_watch. lock lists queues were still full of entries and this was
causing throubles with debugging stubs (like witness_thread_exit()).
Reported by: kris, yongari
Sponsored by: Nokia
Revision Changes Path
1.252 +42 -35 src/sys/kern/subr_witness.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808291548.m7TFm3LD042063>
