Lines Matching defs:pool

35  * (1) For each major functional area (e.g. adding vdevs to a pool,
44 * (3) While all this is happening, we inject faults into the pool to
56 * storage pool, as many times as desired. If backwards compatibility
73 * to increase the pool capacity, fanout, and overall stress level.
428 * The ztest_name_lock protects the pool and dataset namespace used by
572 "\t[-i init_count (default: %d)] initialize pool i times\n"
577 "\t[-E] use existing pool instead of creating new one\n"
818 make_vdev_file(char *path, char *aux, char *pool, size_t size, uint64_t ashift)
834 pool == NULL ? ztest_opts.zo_pool : pool,
840 pool == NULL ? ztest_opts.zo_pool : pool, vdev);
862 make_vdev_raidz(char *path, char *aux, char *pool, size_t size,
869 return (make_vdev_file(path, aux, pool, size, ashift));
873 child[c] = make_vdev_file(path, aux, pool, size, ashift);
892 make_vdev_mirror(char *path, char *aux, char *pool, size_t size,
899 return (make_vdev_raidz(path, aux, pool, size, ashift, r));
904 child[c] = make_vdev_raidz(path, aux, pool, size, ashift, r);
921 make_vdev_root(char *path, char *aux, char *pool, size_t size, uint64_t ashift,
932 child[c] = make_vdev_mirror(path, aux, pool, size, ashift,
2340 * Verify that we can't destroy an active pool, create an existing pool,
2341 * or create a pool with a bad vdev spec.
2368 * Attempt to create an existing pool. It shouldn't matter
2421 * Create a pool with a spa version that can be upgraded. Pick
2643 * split a pool if it has mirror tlvdevs
2664 /* clean up the old pool, if any */
2861 * If newvd is already part of the pool, it should fail with EBUSY.
3145 * Make sure we were able to grow the pool.
4853 * corruption below exceeds the pool's fault tolerance.
5001 * the pool and dataset properies we need to maintain during this test.
5075 * Scrub the pool.
5089 * Change the guid for the pool.
5119 * Rename the pool to a different name and then rename it back.
5172 * Verify pool integrity by running zdb.
5175 ztest_run_zdb(char *pool)
5202 pool);
5261 * Get the pool's configuration and guid.
5296 fatal(B_FALSE, "couldn't import pool %s as %s: error %u",
5313 * Verify that the pool is no longer visible under the old name.
5318 * Verify that we can open and close the pool using the new name.
5365 * If the pool is suspended then fail immediately. Otherwise,
5366 * check to see if the pool is making any progress. If
5372 "pool has transitioned to a suspended state.",
5450 ztest_dataset_name(char *dsname, char *pool, int d)
5452 (void) snprintf(dsname, MAXNAMELEN, "%s/ds_%d", pool, d);
5604 * Open our pool.
5620 * We don't expect the pool to suspend unless maxfaults == 0,
5706 * Right before closing the pool, kick off a bunch of async I/O;
5726 * Verify that we can export the pool and reimport it under a
5765 * We have to do this before we freeze the pool -- otherwise
5776 * Freeze the pool. This stops spa_sync() from doing anything,
5789 * Run tests that generate log records but don't alter the pool config
5796 * not run out of space on the pool.
5816 * Close our dataset and close the pool.
5823 * Open and close the pool and dataset to induce log replay.
5879 * Create a storage pool with the given name and initial vdev size.
5894 * Create the storage pool.
6097 * Create and initialize our storage pool.
6292 * in which case we'll have a 'ztest_tmp' pool lying around