Lines Matching defs:config
781 * Before we kill off ztest, make sure that the config is updated.
2658 nvlist_t *tree, **child, *config, *split, **schild;
2664 /* ensure we have a useable config; mirrors of raidz aren't supported */
2675 /* generate a config from the existing config */
2708 /* OK, create a config that can be used to split */
2715 VERIFY(nvlist_alloc(&config, NV_UNIQUE_NAME, 0) == 0);
2716 VERIFY(nvlist_add_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, split) == 0);
2726 error = spa_vdev_split_mirror(spa, "splitp", config, NULL, B_FALSE);
2729 nvlist_free(config);
3112 * Expanding the LUN will update the config asynchronously,
5316 nvlist_t *config, *newconfig;
5350 VERIFY3U(0, ==, spa_export(oldname, &config, B_FALSE, B_FALSE));
5357 newconfig = spa_tryimport(config);
5364 error = spa_import(newname, config, NULL, 0);
5366 dump_nvlist(config, 0);
5376 VERIFY3U(EEXIST, ==, spa_import(newname, config, NULL, 0));
5381 VERIFY3U(EEXIST, ==, spa_import(oldname, config, NULL, 0));
5395 nvlist_free(config);
5870 * Run tests that generate log records but don't alter the pool config