Change some of the debug sysctl vars. The semantics of these will change.
This commit is contained in:
parent
549a075acc
commit
395e673587
@ -33,7 +33,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94
|
||||
* $Id: vfs_cluster.c,v 1.22 1995/10/09 03:19:49 dyson Exp $
|
||||
* $Id: vfs_cluster.c,v 1.23 1995/10/29 15:31:22 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -54,7 +54,7 @@
|
||||
#include <vm/vm.h>
|
||||
#include <sys/sysctl.h>
|
||||
int doreallocblks = 0;
|
||||
struct ctldebug debug13 = {"doreallocblks", &doreallocblks};
|
||||
SYSCTL_INT(_debug, 13, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, "");
|
||||
|
||||
#else
|
||||
/* XXX for cluster_write */
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94
|
||||
* $Id: vfs_subr.c,v 1.39 1995/11/09 08:13:48 bde Exp $
|
||||
* $Id: vfs_subr.c,v 1.40 1995/11/11 00:27:00 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -874,8 +874,7 @@ holdrele(vp)
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
int busyprt = 0; /* print out busy vnodes */
|
||||
struct ctldebug debug1 = {"busyprt", &busyprt};
|
||||
|
||||
SYSCTL_INT(_debug, 1, busyprt, CTLFLAG_RW, &busyprt, 0, "");
|
||||
#endif
|
||||
|
||||
int
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94
|
||||
* $Id: vfs_syscalls.c,v 1.38 1995/11/12 06:43:07 bde Exp $
|
||||
* $Id: vfs_syscalls.c,v 1.39 1995/11/13 08:22:21 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -316,7 +316,7 @@ dounmount(mp, flags, p)
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
int syncprt = 0;
|
||||
struct ctldebug debug0 = { "syncprt", &syncprt };
|
||||
SYSCTL_INT(_debug, 0, syncprt, CTLFLAG_RW, &syncprt, 0, "");
|
||||
#endif
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94
|
||||
* $Id: vfs_subr.c,v 1.39 1995/11/09 08:13:48 bde Exp $
|
||||
* $Id: vfs_subr.c,v 1.40 1995/11/11 00:27:00 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -874,8 +874,7 @@ holdrele(vp)
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
int busyprt = 0; /* print out busy vnodes */
|
||||
struct ctldebug debug1 = {"busyprt", &busyprt};
|
||||
|
||||
SYSCTL_INT(_debug, 1, busyprt, CTLFLAG_RW, &busyprt, 0, "");
|
||||
#endif
|
||||
|
||||
int
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94
|
||||
* $Id: vfs_syscalls.c,v 1.38 1995/11/12 06:43:07 bde Exp $
|
||||
* $Id: vfs_syscalls.c,v 1.39 1995/11/13 08:22:21 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -316,7 +316,7 @@ dounmount(mp, flags, p)
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
int syncprt = 0;
|
||||
struct ctldebug debug0 = { "syncprt", &syncprt };
|
||||
SYSCTL_INT(_debug, 0, syncprt, CTLFLAG_RW, &syncprt, 0, "");
|
||||
#endif
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
|
Loading…
Reference in New Issue
Block a user