| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
| H A D | redundancy_draid_spare1.ksh | 54 spares=$(random_int_between $parity 3) 57 (( min_children = (data + parity + spares) )) 60 draid="draid${parity}:${data}d:${children}c:${spares}s" 65 while [[ $i -lt $spares ]]; do
|
| H A D | redundancy_draid_spare2.ksh | 42 spares=3 45 draid="draid${parity}:${data}d:${children}c:${spares}s"
|
| H A D | redundancy_draid_spare3.ksh | 70 spares=5 73 draid="draid${parity}:${data}d:${children}c:${spares}s"
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
| H A D | zpool_create_draid_003_pos.ksh | 57 spares=$(random_int_between 0 3) 60 (( min_children = (data + parity + spares) )) 63 draid="draid${parity}:${data}d:${children}c:${spares}s"
|
| /f-stack/freebsd/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_retire.c | 187 nvlist_t **spares; in replace_with_spare() local 202 &spares, &nspares) != 0) in replace_with_spare() 225 if (nvlist_lookup_string(spares[s], ZPOOL_CONFIG_PATH, in replace_with_spare() 230 if ((nvlist_lookup_string(spares[s], ZPOOL_CONFIG_TYPE, in replace_with_spare() 236 (void) nvlist_add_uint64(spares[s], in replace_with_spare() 240 ZPOOL_CONFIG_CHILDREN, &spares[s], 1); in replace_with_spare()
|
| H A D | README.md | 67 managing hot spares across all pools. When it encounters a device fault
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_vdev.c | 218 nvlist_t **spares; in is_spare() local 250 &spares, &nspares) == 0) { in is_spare() 252 verify(nvlist_lookup_uint64(spares[i], in is_spare() 1448 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; in construct_spec() local 1456 spares = NULL; in construct_spec() 1479 if (spares != NULL) { in construct_spec() 1595 spares = child; in construct_spec() 1709 spares, nspares) == 0); in construct_spec() 1718 nvlist_free(spares[t]); in construct_spec() 1722 free(spares); in construct_spec()
|
| H A D | zpool_main.c | 7826 print_spares(zpool_handle_t *zhp, status_cbdata_t *cb, nvlist_t **spares, in print_spares() argument 7838 name = zpool_vdev_name(g_zfs, zhp, spares[i], in print_spares() 7840 print_status_config(zhp, cb, name, spares[i], 2, B_TRUE, NULL); in print_spares() 8307 nvlist_t **spares, **l2cache; in status_callback() local 8355 &spares, &nspares) == 0) in status_callback() 8356 print_spares(zhp, cbp, spares, nspares); in status_callback()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | spa.c | 1678 nvlist_t **spares; in spa_load_spares() local 1787 spares[i] = vdev_config_generate(spa, in spa_load_spares() 1792 nvlist_free(spares[i]); in spa_load_spares() 5190 nvlist_t **spares; local 5219 VERIFY(nvlist_lookup_uint64(spares[i], 5224 spares[i], ZPOOL_CONFIG_VDEV_STATS, 5637 nvlist_t **spares, **l2cache; local 5789 &spares, &nspares) == 0) { 5944 nvlist_t **spares, **l2cache; local 6051 &spares, &nspares) == 0) { [all …]
|
| H A D | vdev_removal.c | 2191 nvlist_t **spares, **l2cache, *nv; in spa_vdev_remove() local 2219 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0 && in spa_vdev_remove() 2220 (nv = spa_nvlist_lookup_by_guid(spares, nspares, guid)) != NULL) { in spa_vdev_remove() 2246 ZPOOL_CONFIG_SPARES, spares, nspares, nv); in spa_vdev_remove()
|
| H A D | vdev_draid.c | 2858 nvlist_t **spares; in vdev_draid_spare_lookup() local 2864 ZPOOL_CONFIG_SPARES, &spares, &nspares) != 0)) { in vdev_draid_spare_lookup() 2874 nvlist_t *spare = spares[i]; in vdev_draid_spare_lookup()
|
| /f-stack/freebsd/kern/ |
| H A D | vnode_if.src | 804 # The VOPs below are spares at the end of the table to allow new VOPs to be 806 # be added above these spares. When merging a new VOP to a stable branch, 807 # the new VOP should replace one of the spares.
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 461 nvlist_t **spares, **l2cache; in get_configs() local 810 &spares, &nspares) == 0) { in get_configs() 812 if (fix_paths(hdl, spares[i], pl->names) != 0) in get_configs()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 1196 uint64_t spares, uint64_t children) in zpool_draid_name() argument 1200 (u_longlong_t)children, (u_longlong_t)spares); in zpool_draid_name() 1488 nvlist_t **spares, **l2cache; in zpool_add() local 1497 &spares, &nspares) == 0) { in zpool_add()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | libtest.shlib | 2205 cur_state=$(get_device_state $pool $disk "spares") 3155 function get_device_state #pool disk field("", "spares","logs") 3168 ($1==field || $1 ~ "^spares$" || $1 ~ "^logs$") {startfield=0}')
|