Lines Matching defs:pool
40 * pool. There are four types of errors that can be injected, IO, ENXIO,
55 * zinject -d device [-e errno] [-L <uber | nvlist | pad1 | pad2>] pool
77 * config pool configuration
107 * zinject <-a | -u pool>
111 * zinject [-f freq] [-a] [-m] [-u] -b objset:object:level:start:end pool
293 "\tzinject -p <function name> pool\n"
299 "\t\t[-T <read|write|free|claim|flush|all>] [-f frequency] pool\n\n"
308 "\tzinject -d device -A <degrade|fault> -D <delay secs> pool\n"
311 "\tzinject -d device -D latency:lanes pool\n"
343 "\tzinject -P import|export -s <seconds> pool\n"
344 "\t\tAdd an artificial delay to a future pool import or export,\n"
348 "\tzinject -I [-s <seconds> | -g <txgs>] pool\n"
349 "\t\tCause the pool to stop writing blocks yet not\n"
355 "\tzinject -b objset:object:level:blkid pool\n"
357 "\t\tInject an error into pool 'pool' with the numeric bookmark\n"
382 "\t\t-u\tUnload the associated pool. Can be specified with only\n"
383 "\t\t\ta pool object.\n"
425 print_data_handler(int id, const char *pool, zinject_record_t *record,
456 "%6llu %6llu\n", id, pool, (u_longlong_t)record->zi_objset,
466 print_device_handler(int id, const char *pool, zinject_record_t *record,
494 "%6llu %6llu\n", id, pool, (u_longlong_t)record->zi_guid,
503 print_delay_handler(int id, const char *pool, zinject_record_t *record,
530 "%6llu %6llu\n", id, pool, (u_longlong_t)record->zi_guid,
540 print_panic_handler(int id, const char *pool, zinject_record_t *record,
555 (void) printf("%3d %-15s %s\n", id, pool, record->zi_func);
561 print_pool_delay_handler(int id, const char *pool, zinject_record_t *record,
581 id, pool, (u_longlong_t)record->zi_duration,
630 cancel_one_handler(int id, const char *pool, zinject_record_t *record,
633 (void) pool, (void) record, (void) data;
686 register_handler(const char *pool, int flags, zinject_record_t *record,
691 (void) strlcpy(zc.zc_name, pool, sizeof (zc.zc_name));
704 errmsg = "pool already imported";
728 (void) printf(" pool: %s\n", pool);
767 perform_action(const char *pool, zinject_record_t *record, int cmd)
772 (void) strlcpy(zc.zc_name, pool, sizeof (zc.zc_name));
903 char pool[MAXNAMELEN] = "";
1198 "a single pool name\n");
1204 (void) strlcpy(pool, argv[0], sizeof (pool));
1223 if (translate_device(pool, device, label, &record) != 0) {
1247 return (perform_action(pool, &record, action));
1262 "single pool name\n");
1268 (void) strlcpy(pool, argv[0], sizeof (pool));
1298 "a single pool name and an optional id\n");
1304 (void) strlcpy(pool, argv[0], sizeof (pool));
1323 "pool name\n");
1329 (void) strlcpy(pool, argv[0], sizeof (pool));
1355 "injection requires a single pool name\n");
1361 (void) strlcpy(pool, argv[0], sizeof (pool));
1374 (void) strlcpy(pool, argv[0], sizeof (pool));
1431 if (translate_record(type, argv[0], range, level, &record, pool,
1441 * If this is pool-wide metadata, unmount everything. The ioctl() will
1442 * unload the pool, so that we trigger spa-wide reopen of metadata next
1443 * time we access the pool.
1459 ret = register_handler(pool, flags, &record, quiet);