diff options
-rw-r--r-- | cmd/ztest/ztest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index de3b9848e..8fb6200d5 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -2770,6 +2770,8 @@ ztest_mmp_enable_disable(ztest_ds_t *zd, uint64_t id) spa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER); mutex_enter(&spa->spa_props_lock); + zfs_multihost_fail_intervals = 0; + if (!spa_multihost(spa)) { spa->spa_multihost = B_TRUE; mmp_thread_start(spa); |