diff options
author | avg <avg@FreeBSD.org> | 2014-02-17 18:25:41 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2014-02-17 18:25:41 +0000 |
commit | 489e9199469312bfa8a4485ea401738f13296942 (patch) | |
tree | 023e997449769dd55a53ddb51d21497877551fda /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c | |
parent | b0a412937022eafe8c2d5bbc56abe56fd7b1b098 (diff) | |
download | FreeBSD-src-489e9199469312bfa8a4485ea401738f13296942.zip FreeBSD-src-489e9199469312bfa8a4485ea401738f13296942.tar.gz |
MFC r260185: MFV r260155: 4391 panic system rather than corrupting pool if we hit bug 4390
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c index d9ecb50..b13700b 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c @@ -252,6 +252,8 @@ SYSCTL_INT(_debug, OID_AUTO, zfs_flags, CTLFLAG_RWTUN, &zfs_flags, 0, * zfs_recover can be set to nonzero to attempt to recover from * otherwise-fatal errors, typically caused by on-disk corruption. When * set, calls to zfs_panic_recover() will turn into warning messages. + * This should only be used as a last resort, as it typically results + * in leaked space, or worse. */ int zfs_recover = 0; SYSCTL_DECL(_vfs_zfs); |