diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index 4461b985fd..a57f0727db 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -1291,7 +1291,7 @@ spa_vdev_config_exit(spa_t *spa, vdev_t *vd, uint64_t txg, int error, char *tag) * If the config changed, update the config cache. */ if (config_changed) - spa_write_cachefile(spa, B_FALSE, B_TRUE, B_FALSE); + spa_write_cachefile(spa, B_FALSE, B_TRUE, B_TRUE); } /*