| /freebsd/sys/dev/enic/ |
| H A D | vnic_dev.h | 53 void *vnic_dev_priv(struct vnic_dev *vdev); 54 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, 56 void vnic_register_cbacks(struct vnic_dev *vdev, 62 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, 64 uint8_t vnic_dev_get_res_bar(struct vnic_dev *vdev, 66 uint32_t vnic_dev_get_res_offset(struct vnic_dev *vdev, 68 unsigned long vnic_dev_get_res_type_len(struct vnic_dev *vdev, 72 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, 74 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, 76 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, [all …]
|
| H A D | vnic_dev.c | 20 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv() argument 22 return vdev->priv; in vnic_dev_priv() 25 void vnic_register_cbacks(struct vnic_dev *vdev, in vnic_register_cbacks() argument 32 vdev->alloc_consistent = alloc_consistent; in vnic_register_cbacks() 33 vdev->free_consistent = free_consistent; in vnic_register_cbacks() 36 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res() argument 39 struct enic_softc *softc = vdev->softc; in vnic_dev_discover_res() 107 vdev->res[type].count = count; in vnic_dev_discover_res() 108 bcopy(&softc->mem, &vdev->res[type].bar, sizeof(softc->mem)); in vnic_dev_discover_res() 109 vdev->res[type].bar.offset = bar_offset; in vnic_dev_discover_res() [all …]
|
| H A D | vnic_wq.c | 10 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, in vnic_dev_alloc_desc_ring() argument 18 device_printf(dev_from_vnic_dev(vdev), in vnic_dev_alloc_desc_ring() 23 err = iflib_dma_alloc(vdev->softc->ctx, desc_count * desc_size, in vnic_dev_alloc_desc_ring() 26 device_printf(dev_from_vnic_dev(vdev), in vnic_dev_alloc_desc_ring() 53 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in vnic_dev_free_desc_ring() argument 63 vnic_dev_free_desc_ring(wq->vdev, &wq->ring); in vnic_wq_free() 67 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in enic_wq_devcmd2_alloc() argument 73 wq->vdev = vdev; in enic_wq_devcmd2_alloc() 76 wq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_DEVCMD2, 0); in enic_wq_devcmd2_alloc() 80 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in enic_wq_devcmd2_alloc() [all …]
|
| H A D | if_enic.c | 311 speed = vnic_dev_port_speed(enic->vdev); in enic_set_rx_coal_setting() 336 struct vnic_dev *vdev; in enic_attach_pre() local 371 vdev = &softc->vdev; in enic_attach_pre() 372 vdev->softc = softc; in enic_attach_pre() 373 enic->vdev = vdev; in enic_attach_pre() 374 vdev->priv = enic; in enic_attach_pre() 377 vnic_dev_register(vdev, &softc->mem, 1); in enic_attach_pre() 378 enic->vdev in enic_attach_pre() 1578 enic_dev_wait(struct vnic_dev * vdev,int (* start)(struct vnic_dev *,int),int (* finished)(struct vnic_dev *,int *),int arg) enic_dev_wait() argument [all...] |
| /freebsd/sys/contrib/openzfs/man/man7/ |
| H A D | vdevprops.7 | 35 Every vdev has a set of properties that export statistics about the vdev 55 vdev. 59 Percentage of vdev space used 61 state of this vdev such as online, faulted, or offline 63 globally unique id of this vdev 65 The allocatable size of this vdev 67 The physical size of this vdev 69 The physical sector size of this vdev expressed as the power of two 71 The total size of this vdev 73 The amount of remaining free space on this vdev [all …]
|
| /freebsd/cddl/usr.sbin/zfsd/ |
| H A D | vdev.h | 34 * \file vdev.h 36 * Definition of the Vdev class. 56 /*----------------------------------- Vdev -----------------------------------*/ 58 * \brief Wrapper class for a vdev's name/value configuration list 59 * simplifying access to commonly used vdev attributes. 61 class Vdev 65 * \brief Instantiate a vdev object for a vdev that is a member 68 * \param pool The pool object containing the vdev with 70 * \param vdevConfig Vdev configuratio [all...] |
| H A D | case_file.h | 36 * CaseFile objects aggregate vdev faults that may require ZFSD action 51 class Vdev; variable 62 * A CaseFile object is instantiated anytime a vdev for an active pool 66 * A vdev may have at most one CaseFile. 68 * CaseFiles are retired when a vdev leaves an active pool configuration 71 * Logging a case against a vdev does not imply that an immediate action 76 * Vdev I/O errors are not recorded in ZFS label inforamation. For this 87 * \brief Find a CaseFile object by a vdev's pool/vdev GUID tuple. 89 * \param poolGUID Pool GUID for the vdev of the CaseFile to find. 90 * If InvalidGuid, then only match the vdev GUID [all …]
|
| H A D | vdev.cc | 34 * \file vdev.cc 36 * Implementation of the Vdev class. 61 #include "vdev.h" 71 Vdev NonexistentVdev; 73 //- Vdev Inline Public Methods ------------------------------------------------ 75 /*----------------------------------- Vdev -----------------------------------*/ 78 Vdev::Vdev() in Vdev() function in Vdev 84 Vdev::VdevLookupPoolGuid() in VdevLookupPoolGuid() 94 Vdev::VdevLookupGuid() in VdevLookupGuid() 98 throw ZfsdException("Unable to extract vdev GUID " in VdevLookupGuid() [all …]
|
| H A D | case_file.cc | 36 * We keep case files for any leaf vdev that is not in the optimal state. 74 #include "vdev.h" 110 * We only carry one active case per-vdev. in Find() 174 CaseFile::Create(Vdev &vdev) in Create() argument 178 activeCase = Find(vdev.PoolGUID(), vdev.GUID()); in Create() 180 activeCase = new CaseFile(vdev); in Create() 253 Vdev vd(casePool, CaseVdev(casePool)); in RefreshVdevState() 264 CaseFile::ReEvaluate(const string &devPath, const string &physPath, Vdev *vdev) in ReEvaluate() argument 272 * The pool or vdev for this case file is no longer in ReEvaluate() 279 "CaseFile::ReEvaluate(%s,%s) Pool/Vdev unconfigured. " in ReEvaluate() [all …]
|
| H A D | zfsd.8 | 70 When a leaf vdev disappears, 77 If it matches a previously removed vdev on an active pool, 83 physical path of a previously removed vdev on an active pool, and that 86 will replace the missing vdev with the newly arrived device. 88 .It vdev degrade or fault events 89 If a vdev becomes degraded or faulted, 93 By default, if a leaf vdev generates more than 50 I/O errors in a 60 second 96 will mark that vdev as 105 vdev properties. See 109 By default, if a leaf vdev generates more than delayed 8 I/O events in a 60 [all …]
|
| H A D | vdev_iterator.h | 52 class Vdev; variable 56 typedef bool VdevCallback_t(Vdev &vdev, void *cbArg); 87 * \brief Report the leaf vdev at this iterator's cursor and increment 94 * first member, returning a vdev object with the given 95 * vdev GUID if found. 97 * \param vdevGUID The vdev GUID of the vdev object to find. 99 * \return A Vdev object for the matching vdev if found. Otherwise 102 * Upon return, the VdevIterator's cursor points to the vdev just 103 * past the returned vdev or end() if no matching vdev is found. 109 * a pool's vdev membership.
|
| /freebsd/sys/contrib/openzfs/man/man8/ |
| H A D | zpool-events.8 | 68 .Bl -tag -compact -width "vdev.bad_guid_sum" 72 Issued when there is an I/O error in a vdev in the pool. 107 Issued every time a vdev change have been done to the pool. 121 .It Sy vdev.unknown 122 Issued when the vdev is unknown. 123 Such as trying to clear device errors on a vdev that have failed/been kicked 125 .It Sy vdev.open_failed 126 Issued when a vdev could not be opened (because it didn't exist for example). 127 .It Sy vdev.corrupt_data 128 Issued when corrupt data have been detected on a vdev. [all …]
|
| H A D | zpool-attach.8 | 26 .Nd attach new device to existing ZFS vdev 32 .Ar pool vdev new_device 38 .Ar vdev . 40 .Ar vdev 43 If the existing vdev is a mirror or plain device 45 the new device will be mirrored with the existing vdev, a resilver will be 49 .Ar vdev 57 .Ar vdev 65 If the existing vdev is a RAID-Z device 79 the health of the RAID-Z vdev is restored (e.g. by replacing the failed disk [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/ |
| H A D | zpool_split_vdevs.ksh | 24 # 'zpool split' should only work on mirrors. Every other VDEV layout is not 28 # Create pools with various VDEV layouts and verify only mirrors can be split 41 # Given a vdev type generate a pool configuration which can be immediately 43 # Supported vdev types are: 57 function pool_config # <vdev-type> 75 vdev='' ;; 77 vdev='mirror';; 79 vdev='raidz1';; 81 vdev='raidz2';; 83 vdev='raidz3';; [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline/ |
| H A D | zpool_offline_spare.ksh | 35 log_must rm -f $TESTDIR/file-vdev-{1..3} 44 log_mustnot ls $TESTDIR/file-vdev-* &> /dev/null 46 log_must truncate -s 100M $TESTDIR/file-vdev-{1..3} 48 log_must zpool create $TESTPOOL2 mirror $TESTDIR/file-vdev-1 \ 49 $TESTDIR/file-vdev-2 spare $TESTDIR/file-vdev-3 52 log_mustnot zpool offline $TESTPOOL2 $TESTDIR/file-vdev-3 53 log_mustnot zpool offline -f $TESTPOOL2 $TESTDIR/file-vdev-3 56 log_must zpool replace $TESTPOOL2 $TESTDIR/file-vdev-1 $TESTDIR/file-vdev-3 57 log_must zpool offline $TESTPOOL2 $TESTDIR/file-vdev-3 58 log_must zpool online $TESTPOOL2 $TESTDIR/file-vdev-3 [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/ |
| H A D | zpool_add_001_pos.ksh | 28 # 'zpool add <pool> <vdev> ...' can successfully add the specified 45 log_assert "'zpool add <pool> <vdev> ...' can add devices to the pool." 64 typeset vdev 74 for vdev in "${poolarray[@]}"; do 77 log_must zpool add -f "$TESTPOOL" ${keywords[i]} $vdev 78 log_must vdevs_in_pool "$TESTPOOL" "$vdev" 84 for vdev in "${mirrorarray[@]}"; do 88 log_must zpool add "$TESTPOOL" ${keywords[i]} $vdev 89 log_must vdevs_in_pool "$TESTPOOL" "$vdev" 95 for vdev in "${raidzarray[@]}"; do [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/ |
| H A D | zed_slow_io.ksh | 20 # Verify that vdev properties, slow_io_n and slow_io_t, work with ZED. 23 # 1. Create a pool with single vdev 26 # 4. Verify that ZED degrades vdev 32 VDEV="$TEST_BASE_DIR/vdevfile.$$" 43 log_must truncate -s 1G $VDEV 44 default_setup_noexit $VDEV 61 log_must rm -f $VDEV 78 log_must rm -f $VDEV 90 log_must zinject -d $VDEV -D10:1 -T read $TESTPOOL 121 log_note $degrades vdev degrades in ZED log [all …]
|
| H A D | zed_io_config.ksh | 18 # Verify that vdev properties, io_n and io_t, work with ZED. 24 # 4. Verify that ZED degrades vdev 33 VDEV="$TEST_BASE_DIR/vdevfile.$$" 45 log_must rm -fd $VDEV $VDEV1 $MOUNTDIR 57 log_must zpool create -f -m $MOUNTDIR $POOL mirror $VDEV $VDEV1 80 log_must zinject -a -d $VDEV -e io -T read -f 100 $POOL 89 log_must wait_vdev_state $POOL $VDEV "FAULTED" 60 99 log_must zpool set io_n=1 $POOL $VDEV 101 log_must zinject -a -d $VDEV -e io -T read -f 100 $POOL 105 log_must wait_vdev_state $POOL $VDEV "FAULTED" 60 [all …]
|
| /freebsd/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 59 * The indirect_child_t represents the vdev that we will read from, when we 72 * indirect vdev. For non-split (contiguously-mapped) blocks, there will be 85 vdev_t *is_vdev; /* top-level vdev */ 100 * The indirect_vsd_t is associated with each i/o to the indirect vdev. 101 * It is the "Vdev-Specific Data" in the zio_t's io_vsd. 231 vdev_read_phys(vdev_t *vdev, const blkptr_t *bp, void *buf, in vdev_read_phys() argument 237 if (vdev->v_phys_read == NULL) in vdev_read_phys() 246 rc = vdev->v_phys_read(vdev, vdev->v_priv, offset, buf, psize); in vdev_read_phys() 249 rc = zio_checksum_verify(vdev->v_spa, bp, buf); in vdev_read_phys() 256 vdev_write_phys(vdev_t *vdev, void *buf, off_t offset, size_t size) in vdev_write_phys() argument [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | vdev_impl.h | 28 #include <sys/vdev.h> 78 * Given a target vdev, translates the logical range "in" to the physical 149 * On-disk indirect vdev state. 151 * An indirect vdev is described exclusively in the MOS config of a pool. 152 * The config for an indirect vdev includes several fields, which are 160 * vdev_indirect_mapping_phys_t. This object is allocated when a vdev 163 * Note that this object can be empty if none of the data on the vdev 173 * is allocated when a vdev removal is initiated. 175 * Note that this object can be empty if none of the vdev has yet been 181 * This is the vdev I 190 struct vdev { global() struct 194 vdev_idvdev global() argument 195 vdev_guidvdev global() argument 196 vdev_guid_sumvdev global() argument 197 vdev_orig_guidvdev global() argument 198 vdev_asizevdev global() argument 199 vdev_min_asizevdev global() argument 200 vdev_max_asizevdev global() argument 201 vdev_ashiftvdev global() argument 208 vdev_logical_ashiftvdev global() argument 220 vdev_physical_ashiftvdev global() argument 221 vdev_statevdev global() argument 222 vdev_prevstatevdev global() argument 223 vdev_opsvdev global() argument 224 vdev_spavdev global() argument 225 vdev_tsdvdev global() argument 226 vdev_topvdev global() argument 227 vdev_parentvdev global() argument 228 vdev_childvdev global() argument 229 vdev_childrenvdev global() argument 230 vdev_statvdev global() argument 231 vdev_stat_exvdev global() argument 232 vdev_expandingvdev global() argument 233 vdev_reopeningvdev global() argument 234 vdev_nonrotvdev global() argument 235 vdev_load_errorvdev global() argument 236 vdev_open_errorvdev global() argument 237 vdev_validate_errorvdev global() argument 238 vdev_open_threadvdev global() argument 239 vdev_validate_threadvdev global() argument 240 vdev_crtxgvdev global() argument 241 vdev_root_zapvdev global() argument 246 vdev_ms_arrayvdev global() argument 247 vdev_ms_shiftvdev global() argument 248 vdev_ms_countvdev global() argument 249 vdev_mgvdev global() argument 250 vdev_log_mgvdev global() argument 251 vdev_msvdev global() argument 252 vdev_ms_listvdev global() argument 253 vdev_dtl_listvdev global() argument 254 vdev_txg_nodevdev global() argument 255 vdev_remove_wantedvdev global() argument 256 vdev_fault_wantedvdev global() argument 257 vdev_config_dirty_nodevdev global() argument 258 vdev_state_dirty_nodevdev global() argument 259 vdev_deflate_ratiovdev global() argument 260 vdev_islogvdev global() argument 261 vdev_noallocvdev global() argument 262 vdev_removingvdev global() argument 263 vdev_failfastvdev global() argument 264 vdev_autositvdev global() argument 265 vdev_rz_expandingvdev global() argument 266 vdev_isholevdev global() argument 267 vdev_top_zapvdev global() argument 268 vdev_alloc_biasvdev global() argument 269 vdev_last_latency_checkvdev global() argument 272 vdev_checkpoint_smvdev global() argument 275 vdev_initialize_exit_wantedvdev global() argument 276 vdev_initialize_statevdev global() argument 277 vdev_initialize_nodevdev global() argument 278 vdev_initialize_threadvdev global() argument 280 vdev_initialize_lockvdev global() argument 281 vdev_initialize_cvvdev global() argument 282 vdev_initialize_offsetvdev global() argument 283 vdev_initialize_last_offsetvdev global() argument 285 vdev_initialize_valuevdev global() argument 287 vdev_initialize_treevdev global() argument 288 vdev_initialize_bytes_estvdev global() argument 289 vdev_initialize_bytes_donevdev global() argument 290 vdev_initialize_action_timevdev global() argument 293 vdev_trim_exit_wantedvdev global() argument 294 vdev_autotrim_exit_wantedvdev global() argument 295 vdev_trim_statevdev global() argument 296 vdev_trim_nodevdev global() argument 297 vdev_autotrim_lockvdev global() argument 298 vdev_autotrim_cvvdev global() argument 299 vdev_autotrim_kick_cvvdev global() argument 300 vdev_autotrim_threadvdev global() argument 302 vdev_trim_lockvdev global() argument 303 vdev_trim_cvvdev global() argument 304 vdev_trim_threadvdev global() argument 305 vdev_trim_offsetvdev global() argument 306 vdev_trim_last_offsetvdev global() argument 307 vdev_trim_bytes_estvdev global() argument 308 vdev_trim_bytes_donevdev global() argument 309 vdev_trim_ratevdev global() argument 310 vdev_trim_partialvdev global() argument 311 vdev_trim_securevdev global() argument 312 vdev_trim_action_timevdev global() argument 315 vdev_rebuildingvdev global() argument 316 vdev_rebuild_exit_wantedvdev global() argument 317 vdev_rebuild_cancel_wantedvdev global() argument 318 vdev_rebuild_reset_wantedvdev global() argument 319 vdev_rebuild_lockvdev global() argument 320 vdev_rebuild_cvvdev global() argument 321 vdev_rebuild_threadvdev global() argument 322 vdev_rebuild_configvdev global() argument 325 vdev_initialize_io_lockvdev global() argument 326 vdev_initialize_io_cvvdev global() argument 327 vdev_initialize_inflightvdev global() argument 328 vdev_trim_io_lockvdev global() argument 329 vdev_trim_io_cvvdev global() argument 330 vdev_trim_inflightvdev global() argument 335 vdev_indirect_configvdev global() argument 344 vdev_indirect_rwlockvdev global() argument 345 vdev_indirect_mappingvdev global() argument 346 vdev_indirect_birthsvdev global() argument 362 vdev_obsolete_lockvdev global() argument 363 vdev_obsolete_segmentsvdev global() argument 364 vdev_obsolete_smvdev global() argument 370 vdev_scan_io_queue_lockvdev global() argument 371 vdev_scan_io_queuevdev global() argument 376 vdev_dtlvdev global() argument 377 vdev_dtl_smvdev global() argument 378 vdev_dtl_nodevdev global() argument 379 vdev_dtl_objectvdev global() argument 380 vdev_psizevdev global() argument 381 vdev_wholediskvdev global() argument 382 vdev_offlinevdev global() argument 383 vdev_faultedvdev global() argument 384 vdev_degradedvdev global() argument 385 vdev_removedvdev global() argument 386 vdev_resilver_txgvdev global() argument 387 vdev_rebuild_txgvdev global() argument 388 vdev_pathvdev global() argument 389 vdev_devidvdev global() argument 390 vdev_physpathvdev global() argument 391 vdev_enc_sysfs_pathvdev global() argument 392 vdev_fruvdev global() argument 393 vdev_not_presentvdev global() argument 394 vdev_unsparevdev global() argument 395 vdev_nowritecachevdev global() argument 396 vdev_has_trimvdev global() argument 397 vdev_has_securetrimvdev global() argument 398 vdev_checkremovevdev global() argument 399 vdev_forcefaultvdev global() argument 400 vdev_splittingvdev global() argument 401 vdev_delayed_closevdev global() argument 402 vdev_tmpofflinevdev global() argument 403 vdev_detachedvdev global() argument 404 vdev_cant_readvdev global() argument 405 vdev_cant_writevdev global() argument 406 vdev_issparevdev global() argument 407 vdev_isl2cachevdev global() argument 408 vdev_copy_uberblocksvdev global() argument 409 vdev_resilver_deferredvdev global() argument 410 vdev_kobj_flagvdev global() argument 411 vdev_attachingvdev global() argument 412 vdev_is_blkdevvdev global() argument 413 vdev_queuevdev global() argument 414 vdev_auxvdev global() argument 415 vdev_probe_ziovdev global() argument 416 vdev_label_auxvdev global() argument 417 vdev_leaf_zapvdev global() argument 418 vdev_mmp_pendingvdev global() argument 419 vdev_mmp_kstat_idvdev global() argument 420 vdev_expansion_timevdev global() argument 422 vdev_prev_histovdev global() argument 423 vdev_outlier_countvdev global() argument 424 vdev_read_sit_out_expirevdev global() argument 425 vdev_leaf_nodevdev global() argument 434 vdev_dtl_lockvdev global() argument 435 vdev_stat_lockvdev global() argument 436 vdev_probe_lockvdev global() argument 446 vdev_delay_rlvdev global() argument 447 vdev_deadman_rlvdev global() argument 448 vdev_dio_verify_rlvdev global() argument 449 vdev_checksum_rlvdev global() argument 454 vdev_checksum_nvdev global() argument 455 vdev_checksum_tvdev global() argument 456 vdev_io_nvdev global() argument 457 vdev_io_tvdev global() argument 458 vdev_slow_io_eventsvdev global() argument 459 vdev_slow_io_nvdev global() argument 460 vdev_slow_io_tvdev global() argument 461 vdev_schedulervdev global() argument [all...] |
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_set/ |
| H A D | vdev_set_path.ksh | 22 # Setting the "path" vdev property completes and takes effect. 34 # 1. Create a pool on our own file vdev (so we don't collide with the 41 # vdev is sufficient to exercise the set path. 47 typeset VDEV=$TEST_BASE_DIR/vdev_path.$$ 53 rm -f $VDEV $SYMLINK 58 log_assert "setting the path vdev property completes and takes effect" 60 log_must truncate -s $MINVDEVSIZE $VDEV 61 log_must zpool create $POOL $VDEV 63 # The stored leaf path is the file vdev we created. 64 typeset OLDPATH=$(zpool get -H -o value path $POOL $VDEV) [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/alloc_class/ |
| H A D | alloc_class_015_neg.ksh | 23 # Setting the alloc_bias vdev property to invalid values or on 24 # unsupported vdev types fails. 27 # 1. Create a pool with a normal mirror and a log vdev. 28 # 2. Verify setting alloc_bias on a leaf vdev fails. 31 # 5. Verify setting alloc_bias on a log vdev fails. 34 # 7. Verify converting the last normal vdev fails. 46 # Create a pool with a normal mirror and a log vdev. 52 log_note "Normal vdev: $NORMAL_VDEV" 54 # Setting alloc_bias on a leaf vdev must fail. 63 # Setting alloc_bias on a log vdev must fail. [all …]
|
| /freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_retire.c | 26 * marking the vdev FAULTY (for I/O errors) or DEGRADED (for checksum errors). 90 * Find a vdev within a tree with a matching GUID. 107 "matched vdev %llu", guid); in find_vdev() 194 * Given a vdev guid, find and remove all spares associated with it. 209 * Given a (pool, vdev) GUID pair, find the matching pool, vdev and 221 * Find the corresponding pool and make sure the vdev still exists. in find_by_guid_impl() 249 * Given a (pool, vdev) GUID pair, find the matching pool and vdev. 259 * Given a (pool, vdev) GUID pair, count the number of faulted vdevs in 260 * its top vdev and return TRUE if the number of failures at i-th device 262 * which means it's the domain failure, and the vdev is one of those faults. [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
| H A D | attach_multiple.ksh | 29 # 1. Create a single vdev pool 31 # a. Attach a vdev to convert the pool to a mirror. 32 # b. Attach a vdev to convert the pool to a 3-way mirror. 33 # c. Verify the original vdev cannot be removed (no redundant copies) 34 # d. Detach a vdev. Healing and sequential resilver remain running. 35 # e. Detach a vdev. Healing resilver remains running, sequential 73 # Attach first vdev (stripe -> mirror) 78 # Attach second vdev (2-way -> 3-way mirror) 83 # Original vdev cannot be detached until there is sufficient redundancy. 86 # Detach first vdev (resilver keeps running) [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_add/ |
| H A D | zpool_add_001_pos.ksh | 36 # 'zpool add <pool> <vdev> ...' can successfully add the specified 56 log_assert "'zpool add <pool> <vdev> ...' can add devices to the pool." 75 typeset vdev 83 for vdev in "${poolarray[@]}"; do 87 $vdev 88 log_must iscontained "$TESTPOOL" "$vdev" 94 for vdev in "${mirrorarray[@]}"; do 99 $vdev 100 log_must iscontained "$TESTPOOL" "$vdev" 106 for vdev in "${raidzarray[@]}"; do [all …]
|