diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index ca55d55405..822fd0ee89 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -1290,7 +1290,7 @@ spa_vdev_config_exit(spa_t *spa, vdev_t *vd, uint64_t txg, int error, * 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); } /*