Lines Matching defs:pool

38  * pool.  There are two types of errors that can be injected, EIO and ENXIO,
50 * zinject -d device [-e errno] [-L <uber | nvlist | pad1 | pad2>] pool
72 * config pool configuration
102 * zinject <-a | -u pool>
106 * zinject [-f freq] [-a] [-m] [-u] -b objset:object:level:start:end pool
227 "\tzinject -p <function name> pool\n"
234 "\t [-T <read|write|free|claim|all> pool\n"
241 "\tzinject -d device -A <degrade|fault> pool\n"
245 "\tzinject -d device -D latency:lanes pool\n"
277 "\tzinject -I [-s <seconds> | -g <txgs>] pool\n"
279 "\t\tCause the pool to stop writing blocks yet not\n"
285 "\tzinject -b objset:object:level:blkid pool\n"
287 "\t\tInject an error into pool 'pool' with the numeric bookmark\n"
309 "\t\t-u\tUnload the associated pool. Can be specified with only\n"
310 "\t\t\ta pool object.\n"
352 print_data_handler(int id, const char *pool, zinject_record_t *record,
369 (void) printf("%3d %-15s %-6llu %-6llu %-8s %3d ", id, pool,
384 print_device_handler(int id, const char *pool, zinject_record_t *record,
402 (void) printf("%3d %-15s %llx\n", id, pool,
409 print_delay_handler(int id, const char *pool, zinject_record_t *record,
429 (void) printf("%3d %-15s %-15llu %-15llu %llx\n", id, pool,
438 print_panic_handler(int id, const char *pool, zinject_record_t *record,
453 (void) printf("%3d %-15s %s\n", id, pool, record->zi_func);
495 cancel_one_handler(int id, const char *pool, zinject_record_t *record,
550 register_handler(const char *pool, int flags, zinject_record_t *record,
555 (void) strcpy(zc.zc_name, pool);
573 (void) printf(" pool: %s\n", pool);
608 perform_action(const char *pool, zinject_record_t *record, int cmd)
613 (void) strlcpy(zc.zc_name, pool, sizeof (zc.zc_name));
670 char pool[MAXNAMELEN];
931 "a single pool name\n");
936 (void) strcpy(pool, argv[0]);
946 if (translate_device(pool, device, label, &record) != 0)
952 return (perform_action(pool, &record, action));
965 "single pool name\n");
970 (void) strcpy(pool, argv[0]);
995 "a single pool name and an optional id\n");
1000 (void) strcpy(pool, argv[0]);
1018 "injection requires a single pool name\n");
1023 (void) strcpy(pool, argv[0]);
1035 (void) strcpy(pool, argv[0]);
1059 if (translate_record(type, argv[0], range, level, &record, pool,
1067 * If this is pool-wide metadata, unmount everything. The ioctl() will
1068 * unload the pool, so that we trigger spa-wide reopen of metadata next
1069 * time we access the pool.
1081 ret = register_handler(pool, flags, &record, quiet);