Home
last modified time | relevance | path

Searched refs:VDEV_STATE_DEGRADED (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c135 if (zfs_toplevel_state(zhp) < VDEV_STATE_DEGRADED) { in zfs_unavail_pool()
348 newstate == VDEV_STATE_DEGRADED)) { in zfs_process_add()
400 if ((vs->vs_state != VDEV_STATE_DEGRADED) && in zfs_process_add()
750 if (zfs_toplevel_state(zhp) >= VDEV_STATE_DEGRADED) { in zfs_iter_pool()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_root.c139 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, VDEV_AUX_NONE); in vdev_root_state_change()
H A Dvdev.c225 case VDEV_STATE_DEGRADED: in vdev_dbgmsg_print_tree()
2126 vdev_set_state(vd, B_TRUE, VDEV_STATE_DEGRADED, in vdev_open()
2140 vdev_set_state(vd, B_TRUE, VDEV_STATE_DEGRADED, in vdev_open()
3096 if (vd->vdev_state < VDEV_STATE_DEGRADED) in vdev_dtl_should_excise()
4212 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, aux); in vdev_fault()
4244 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, in vdev_degrade()
4367 (oldstate < VDEV_STATE_DEGRADED && in vdev_online()
4368 vd->vdev_state >= VDEV_STATE_DEGRADED)) { in vdev_online()
4597 return (vd->vdev_state < VDEV_STATE_DEGRADED || in vdev_is_dead()
4628 return (!(state < VDEV_STATE_DEGRADED && state != VDEV_STATE_CLOSED) && in vdev_allocatable()
[all …]
H A Dvdev_mirror.c949 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, VDEV_AUX_NONE); in vdev_mirror_state_change()
H A Dvdev_draid.c2078 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, VDEV_AUX_NONE); in vdev_draid_state_change()
H A Dspa_misc.c2934 case VDEV_STATE_DEGRADED: in spa_state_to_name()
H A Dvdev_raidz.c3594 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, VDEV_AUX_NONE); in vdev_raidz_state_change()
H A Dzfs_ioctl.c1988 case VDEV_STATE_DEGRADED: in zfs_ioc_vdev_set_state()
H A Dspa.c8964 newstate = VDEV_STATE_DEGRADED;
/freebsd/cddl/usr.sbin/zfsd/
H A Dvdev.cc193 return (VDEV_STATE_DEGRADED); in State()
H A Dcase_file.cc468 VdevState() == VDEV_STATE_DEGRADED || in ReEvaluate()
706 case VDEV_STATE_DEGRADED: in CloseIfSolved()
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c772 ASSERT(cmd == VDEV_STATE_DEGRADED || cmd == VDEV_STATE_FAULTED); in perform_action()
950 action = VDEV_STATE_DEGRADED; in main()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_status.c119 return (vs->vs_state == VDEV_STATE_DEGRADED || in vdev_errors()
H A Dlibzfs_pool.c208 case VDEV_STATE_DEGRADED: in zpool_state_to_name()
3480 return (zpool_vdev_set_state(zhp, guid, aux, VDEV_STATE_DEGRADED)); in zpool_vdev_degrade()
H A Dlibzfs.abi5946 <enumerator name='VDEV_STATE_DEGRADED' value='6'/>
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c909 vdev->v_state = VDEV_STATE_DEGRADED; in vdev_set_initial_state()
1215 vdev->v_state = VDEV_STATE_DEGRADED; in vdev_set_state()
1223 vdev->v_state = VDEV_STATE_DEGRADED; in vdev_set_state()
1500 else if (vdev->v_state == VDEV_STATE_DEGRADED) in spa_status()
1510 state = VDEV_STATE_DEGRADED; in spa_status()
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h1014 VDEV_STATE_DEGRADED, /* Replicated vdev with unhealthy kids */ enumerator
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h876 VDEV_STATE_DEGRADED, /* Replicated vdev with unhealthy kids */ enumerator
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c3656 } else if (vs->vs_state == VDEV_STATE_DEGRADED) { in show_import()
8026 (oldstate >= VDEV_STATE_DEGRADED ? in zpool_do_online()
8028 if (oldstate >= VDEV_STATE_DEGRADED) { in zpool_do_online()