Lines Matching defs:fault
30 * When we see a device fault or a device removal, we try to open the associated
322 * Repair this vdev if we had diagnosed a 'fault.fs.zfs.device' and
371 nvlist_t *resource, *fault;
505 fault = faults[f];
511 if (nvlist_lookup_boolean_value(fault, FM_SUSPECT_RETIRE,
516 * While we subscribe to fault.fs.zfs.*, we only take action
518 * failure). We also subscribe to fault.io.* events, so that
521 if (fmd_nvl_class_match(hdl, fault, "fault.fs.zfs.vdev.io")) {
523 } else if (fmd_nvl_class_match(hdl, fault,
524 "fault.fs.zfs.vdev.checksum")) {
526 } else if (fmd_nvl_class_match(hdl, fault,
527 "fault.fs.zfs.vdev.slow_io")) {
529 } else if (fmd_nvl_class_match(hdl, fault,
530 "fault.fs.zfs.device")) {
532 } else if (fmd_nvl_class_match(hdl, fault, "fault.io.*")) {
543 * This is a ZFS fault. Lookup the resource, and
546 if (nvlist_lookup_nvlist(fault, FM_FAULT_RESOURCE,
599 * Actively fault the device if needed.
608 fault_device ? "fault" : "degrade", vdev_guid,