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
231 "\tzinject -p <function name> pool\n"
237 "\t [-T <read|write|free|claim|all> pool\n"
243 "\tzinject -d device -A <degrade|fault> pool\n"
246 "\tzinject -I [-s <seconds> | -g <txgs>] pool\n"
247 "\t\tCause the pool to stop writing blocks yet not\n"
253 "\tzinject -b objset:object:level:blkid pool\n"
255 "\t\tInject an error into pool 'pool' with the numeric bookmark\n"
277 "\t\t-u\tUnload the associated pool. Can be specified with only\n"
278 "\t\t\ta pool object.\n"
320 print_data_handler(int id, const char *pool, zinject_record_t *record,
337 (void) printf("%3d %-15s %-6llu %-6llu %-8s %3d ", id, pool,
352 print_device_handler(int id, const char *pool, zinject_record_t *record,
367 (void) printf("%3d %-15s %llx\n", id, pool,
374 print_panic_handler(int id, const char *pool, zinject_record_t *record,
389 (void) printf("%3d %-15s %s\n", id, pool, record->zi_func);
424 cancel_one_handler(int id, const char *pool, zinject_record_t *record,
479 register_handler(const char *pool, int flags, zinject_record_t *record,
484 (void) strcpy(zc.zc_name, pool);
502 (void) printf(" pool: %s\n", pool);
537 perform_action(const char *pool, zinject_record_t *record, int cmd)
542 (void) strlcpy(zc.zc_name, pool, sizeof (zc.zc_name));
570 char pool[MAXNAMELEN];
830 "a single pool name\n");
835 (void) strcpy(pool, argv[0]);
845 if (translate_device(pool, device, label, &record) != 0)
851 return (perform_action(pool, &record, action));
864 "single pool name\n");
869 (void) strcpy(pool, argv[0]);
894 "a single pool name and an optional id\n");
899 (void) strcpy(pool, argv[0]);
917 "injection requires a single pool name\n");
922 (void) strcpy(pool, argv[0]);
934 (void) strcpy(pool, argv[0]);
958 if (translate_record(type, argv[0], range, level, &record, pool,
966 * If this is pool-wide metadata, unmount everything. The ioctl() will
967 * unload the pool, so that we trigger spa-wide reopen of metadata next
968 * time we access the pool.
980 ret = register_handler(pool, flags, &record, quiet);