MFp4: Allow to tune vfs.zfs.debug from loader.conf.
This commit is contained in:
parent
c98fbf0418
commit
dbd490e0e2
@ -59,6 +59,7 @@ struct mtx zfs_debug_mtx;
|
||||
MTX_SYSINIT(zfs_debug_mtx, &zfs_debug_mtx, "zfs_debug", MTX_DEF);
|
||||
SYSCTL_NODE(_vfs, OID_AUTO, zfs, CTLFLAG_RW, 0, "ZFS file system");
|
||||
int zfs_debug_level = 0;
|
||||
TUNABLE_INT("vfs.zfs.debug", &zfs_debug_level);
|
||||
SYSCTL_INT(_vfs_zfs, OID_AUTO, debug, CTLFLAG_RW, &zfs_debug_level, 0,
|
||||
"Debug level");
|
||||
|
||||
|
@ -59,6 +59,7 @@ struct mtx zfs_debug_mtx;
|
||||
MTX_SYSINIT(zfs_debug_mtx, &zfs_debug_mtx, "zfs_debug", MTX_DEF);
|
||||
SYSCTL_NODE(_vfs, OID_AUTO, zfs, CTLFLAG_RW, 0, "ZFS file system");
|
||||
int zfs_debug_level = 0;
|
||||
TUNABLE_INT("vfs.zfs.debug", &zfs_debug_level);
|
||||
SYSCTL_INT(_vfs_zfs, OID_AUTO, debug, CTLFLAG_RW, &zfs_debug_level, 0,
|
||||
"Debug level");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user