/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_mod.c | 135 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 D | vdev_root.c | 139 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, VDEV_AUX_NONE); in vdev_root_state_change()
|
H A D | vdev.c | 225 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 D | vdev_mirror.c | 949 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, VDEV_AUX_NONE); in vdev_mirror_state_change()
|
H A D | vdev_draid.c | 2078 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, VDEV_AUX_NONE); in vdev_draid_state_change()
|
H A D | spa_misc.c | 2934 case VDEV_STATE_DEGRADED: in spa_state_to_name()
|
H A D | vdev_raidz.c | 3594 vdev_set_state(vd, B_FALSE, VDEV_STATE_DEGRADED, VDEV_AUX_NONE); in vdev_raidz_state_change()
|
H A D | zfs_ioctl.c | 1988 case VDEV_STATE_DEGRADED: in zfs_ioc_vdev_set_state()
|
H A D | spa.c | 8964 newstate = VDEV_STATE_DEGRADED;
|
/freebsd/cddl/usr.sbin/zfsd/ |
H A D | vdev.cc | 193 return (VDEV_STATE_DEGRADED); in State()
|
H A D | case_file.cc | 468 VdevState() == VDEV_STATE_DEGRADED || in ReEvaluate() 706 case VDEV_STATE_DEGRADED: in CloseIfSolved()
|
/freebsd/sys/contrib/openzfs/cmd/zinject/ |
H A D | zinject.c | 772 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 D | libzfs_status.c | 119 return (vs->vs_state == VDEV_STATE_DEGRADED || in vdev_errors()
|
H A D | libzfs_pool.c | 208 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 D | libzfs.abi | 5946 <enumerator name='VDEV_STATE_DEGRADED' value='6'/>
|
/freebsd/stand/libsa/zfs/ |
H A D | zfsimpl.c | 909 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 D | zfs.h | 1014 VDEV_STATE_DEGRADED, /* Replicated vdev with unhealthy kids */ enumerator
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 876 VDEV_STATE_DEGRADED, /* Replicated vdev with unhealthy kids */ enumerator
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 3656 } 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()
|