zfs_toplevel_state
if (zfs_toplevel_state(zhp) < VDEV_STATE_DEGRADED) {
if (zfs_toplevel_state(zhp) >= VDEV_STATE_DEGRADED) {