]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/ofed/libibcm/Makefile.in
MFV r323527: 5815 libzpool's panic function doesn't set global panicstr, ::status...
authorAndriy Gapon <avg@FreeBSD.org>
Wed, 13 Sep 2017 10:34:31 +0000 (10:34 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Wed, 13 Sep 2017 10:34:31 +0000 (10:34 +0000)
commit8ac2314e0095869393e0fa91f47b90d1a64ca062
treea1ee5db064b7ea0c886c3fda6c89bc8392b946d8
parenta345c0b23bf73b7393a0158a6f8646b099dcdf13
parentaf2da9fb2e2232c7f096cf875f42640edc9c018a
MFV r323527: 5815 libzpool's panic function doesn't set global panicstr, ::status not as useful

illumos/illumos-gate@fae6347731c9d3f46b26338313b0422927f29cf6
https://github.com/illumos/illumos-gate/commit/fae6347731c9d3f46b26338313b0422927f29cf6

https://www.illumos.org/issues/5815
  When panic() is called from within ztest, the mdb ::status command isn't as
  useful as it could be since the global panicstr variable isn't updated. We
  should modify the function to make sure panicstr is set, so ::status can
  present the error message just like it does on a failed assertion.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Prakash Surya <prakash.surya@delphix.com>
MFC after: 4 weeks
cddl/contrib/opensolaris/lib/libzpool/common/kernel.c