Lines Matching full:vdev

36  * marking the vdev FAULTY (for I/O errors) or DEGRADED (for checksum errors).
100 * Find a vdev within a tree with a matching GUID.
113 "matched vdev %llu", guid); in find_vdev()
191 * Given a vdev guid, find and remove all spares associated with it.
206 * Given a (pool, vdev) GUID pair, find the matching pool and vdev.
217 * Find the corresponding pool and make sure the vdev still exists. in find_by_guid()
242 * Given a vdev, attempt to replace it with every known spare until one
247 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare() argument
278 dev_name = zpool_vdev_name(NULL, zhp, vdev, B_FALSE); in replace_with_spare()
323 * Repair this vdev if we had diagnosed a 'fault.fs.zfs.device' and
361 fmd_hdl_debug(hdl, "marking repaired vdev %llu on pool %llu", in zfs_vdev_repair()
382 nvlist_t *vdev = NULL; in zfs_retire_recv() local
400 * l2arc vdev, in which case we just offline it. in zfs_retire_recv()
437 &vdev)) == NULL) in zfs_retire_recv()
440 devname = zpool_vdev_name(NULL, zhp, vdev, B_FALSE); in zfs_retire_recv()
442 nvlist_lookup_uint64_array(vdev, ZPOOL_CONFIG_VDEV_STATS, in zfs_retire_recv()
449 * If state removed is requested for already removed vdev, in zfs_retire_recv()
463 /* Remove the vdev since device is unplugged */ in zfs_retire_recv()
472 /* Replace the vdev with a spare if its not a l2arc */ in zfs_retire_recv()
475 replace_with_spare(hdl, zhp, vdev) == B_FALSE)) { in zfs_retire_recv()
529 * for faults targeting a specific vdev (open failure or SERD in zfs_retire_recv()
533 if (fmd_nvl_class_match(hdl, fault, "fault.fs.zfs.vdev.io")) { in zfs_retire_recv()
536 "fault.fs.zfs.vdev.checksum")) { in zfs_retire_recv()
539 "fault.fs.zfs.vdev.slow_io")) { in zfs_retire_recv()
556 * attempt to find the matching vdev. in zfs_retire_recv()
580 &vdev)) == NULL) in zfs_retire_recv()
598 * If this is a repair event, then mark the vdev as repaired and in zfs_retire_recv()
603 fmd_hdl_debug(hdl, "zpool_clear of pool '%s' vdev %llu", in zfs_retire_recv()
619 fmd_hdl_debug(hdl, "zpool_vdev_%s: vdev %llu on '%s'", in zfs_retire_recv()
626 (void) replace_with_spare(hdl, zhp, vdev); in zfs_retire_recv()