summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ztest/ztest.c
diff options
context:
space:
mode:
authorGeorge Wilson <george.wilson@delphix.com>2013-10-01 13:25:53 -0800
committerChristopher Siden <chris.siden@delphix.com>2013-10-01 14:25:53 -0700
commit0713e232b7712cd27d99e1e935ebb8d5de61c57d (patch)
treefb080a0be4210117813ba3b9f2b411a41ca457bb /usr/src/cmd/ztest/ztest.c
parentaed5247ff899ec457005d93dfbdb4ffd74574695 (diff)
downloadillumos-joyent-0713e232b7712cd27d99e1e935ebb8d5de61c57d.tar.gz
4101 metaslab_debug should allow for fine-grained control
4102 space_maps should store more information about themselves 4103 space map object blocksize should be increased 4104 ::spa_space no longer works 4105 removing a mirrored log device results in a leaked object 4106 asynchronously load metaslab Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Sebastien Roy <seb@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/cmd/ztest/ztest.c')
-rw-r--r--usr/src/cmd/ztest/ztest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/ztest/ztest.c b/usr/src/cmd/ztest/ztest.c
index 9d3caf479d..14ce93f552 100644
--- a/usr/src/cmd/ztest/ztest.c
+++ b/usr/src/cmd/ztest/ztest.c
@@ -5336,7 +5336,7 @@ ztest_deadman_thread(void *arg)
* vdev_deadman() discovers that there hasn't been any recent
* I/Os then it will end up aborting the tests.
*/
- if (spa_suspended(spa)) {
+ if (spa_suspended(spa) || spa->spa_root_vdev == NULL) {
fatal(0, "aborting test after %llu seconds because "
"pool has transitioned to a suspended state.",
zfs_deadman_synctime_ms / 1000);