Deleted Added
full compact
spa_misc.c (262093) spa_misc.c (262120)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 238 unchanged lines hidden (view full) ---

247TUNABLE_INT("debug.zfs_flags", &zfs_flags);
248SYSCTL_INT(_debug, OID_AUTO, zfs_flags, CTLFLAG_RWTUN, &zfs_flags, 0,
249 "ZFS debug flags.");
250
251/*
252 * zfs_recover can be set to nonzero to attempt to recover from
253 * otherwise-fatal errors, typically caused by on-disk corruption. When
254 * set, calls to zfs_panic_recover() will turn into warning messages.
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 238 unchanged lines hidden (view full) ---

247TUNABLE_INT("debug.zfs_flags", &zfs_flags);
248SYSCTL_INT(_debug, OID_AUTO, zfs_flags, CTLFLAG_RWTUN, &zfs_flags, 0,
249 "ZFS debug flags.");
250
251/*
252 * zfs_recover can be set to nonzero to attempt to recover from
253 * otherwise-fatal errors, typically caused by on-disk corruption. When
254 * set, calls to zfs_panic_recover() will turn into warning messages.
255 * This should only be used as a last resort, as it typically results
256 * in leaked space, or worse.
255 */
256int zfs_recover = 0;
257SYSCTL_DECL(_vfs_zfs);
258TUNABLE_INT("vfs.zfs.recover", &zfs_recover);
259SYSCTL_INT(_vfs_zfs, OID_AUTO, recover, CTLFLAG_RDTUN, &zfs_recover, 0,
260 "Try to recover from otherwise-fatal errors.");
261
262/*

--- 1658 unchanged lines hidden ---
257 */
258int zfs_recover = 0;
259SYSCTL_DECL(_vfs_zfs);
260TUNABLE_INT("vfs.zfs.recover", &zfs_recover);
261SYSCTL_INT(_vfs_zfs, OID_AUTO, recover, CTLFLAG_RDTUN, &zfs_recover, 0,
262 "Try to recover from otherwise-fatal errors.");
263
264/*

--- 1658 unchanged lines hidden ---