mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
Update description of witness_watch.
This commit is contained in:
parent
58b1b47729
commit
c1fa2e4200
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183329
@ -376,9 +376,11 @@ static void witness_list_lock(struct lock_instance *instance);
|
||||
SYSCTL_NODE(_debug, OID_AUTO, witness, CTLFLAG_RW, 0, "Witness Locking");
|
||||
|
||||
/*
|
||||
* If set to 0, witness is disabled. Otherwise witness performs full lock order
|
||||
* checking for all locks. At runtime, witness is allowed to be turned off.
|
||||
* witness is not allowed be turned on once it is turned off, however.
|
||||
* If set to 0, lock order checking is disabled. If set to -1,
|
||||
* witness is completely disabled. Otherwise witness performs full
|
||||
* lock order checking for all locks. At runtime, lock order checking
|
||||
* may be toggled. However, witness cannot be reenabled once it is
|
||||
* completely disabled.
|
||||
*/
|
||||
static int witness_watch = 1;
|
||||
TUNABLE_INT("debug.witness.watch", &witness_watch);
|
||||
|
Loading…
Reference in New Issue
Block a user