Home
last modified time | relevance | path

Searched refs:spares (Results 1 – 15 of 15) sorted by relevance

/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare1.ksh54 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 Dredundancy_draid_spare2.ksh42 spares=3
45 draid="draid${parity}:${data}d:${children}c:${spares}s"
H A Dredundancy_draid_spare3.ksh70 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 Dzpool_create_draid_003_pos.ksh57 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 Dzfs_retire.c187 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 DREADME.md67 managing hot spares across all pools. When it encounters a device fault
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c218 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 Dzpool_main.c7826 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 Dspa.c1678 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 Dvdev_removal.c2191 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 Dvdev_draid.c2858 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 Dvnode_if.src804 # 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 Dzutil_import.c461 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 Dlibzfs_pool.c1196 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 Dlibtest.shlib2205 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}')