]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r324220:
authorasomers <asomers@FreeBSD.org>
Wed, 25 Oct 2017 14:45:56 +0000 (14:45 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 25 Oct 2017 14:45:56 +0000 (14:45 +0000)
commitfe49fbe267d6f971964b5faf367f3c6a66b68458
treecf30de8c2b7d4949a8388386fef193f2f40508f3
parentf919f1946d476558e28ea675dc0ac9da69bf506c
MFC r324220:

MFV r316858 7280 Allow changing global libzpool variables in zdb

7280 Allow changing global libzpool variables in zdb and ztest through command line

illumos/illumos-gate@0e60744c982adecd0a1f146f5637475d07ab1069
https://github.com/illumos/illumos-gate/commit/0e60744c982adecd0a1f146f5637475d07ab1069

https://www.illumos.org/issues/7280
  zdb is very handy for diagnosing problems with a pool in a safe and
  quick way. When a pool is in a bad shape, we often want to disable some
  fail-safes, or adjust some tunables in order to open them. In the
  kernel, this is done by changing public variables in mdb. The goal of
  this feature is to add the same capability to zdb and ztest, so that
  they can change libzpool tuneables from the command line.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Pavel Zakharov <pavel.zakharov@delphix.com>
cddl/contrib/opensolaris/cmd/zdb/zdb.8
cddl/contrib/opensolaris/cmd/zdb/zdb.c
cddl/contrib/opensolaris/cmd/ztest/ztest.c
cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h
cddl/contrib/opensolaris/lib/libzpool/common/util.c