Lines Matching defs:config
89 * This protects the spa_t from config changes, and must be held in
93 * - RW_WRITER to change the vdev config
105 * the config lock.
109 * The namespace lock must always be taken before the config lock.
155 * We use these distinct config locks to avoid recursive lock entry.
160 * The spa config locks cannot be normal rwlocks because we need the
170 * add/remove/attach/detach. Protects the dirty config list
207 * or zio_write_phys() -- the caller must ensure that the config cannot
213 * spa_vdev_enter() Acquire the namespace lock and the config lock
216 * spa_vdev_exit() Release the config lock, wait for all I/O
355 * SPA config locking
550 spa_add(const char *name, nvlist_t *config, const char *altroot)
639 if (config != NULL) {
642 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_FEATURES_FOR_READ,
648 VERIFY(nvlist_dup(config, &spa->spa_config, 0) == 0);
1070 * Grabs the global spa_namespace_lock plus the spa config lock for writing.
1139 * that there won't be more than one config change per txg.
1153 * If the config changed, update the config cache.
1236 * If the config changed, update the config cache.
1260 * dirty the vdev config because lock SCL_CONFIG is not held.
1261 * Thankfully, in this case we don't need to dirty the config
1287 * Lookup the spa_t and grab the config lock for writing. We need to
1316 * Sync the updated config cache.
1574 * If we fail to parse the config during spa_load(), we can go through