Print this page
First pass at 4310

*** 1201,1214 **** */ if (rval == FALSE) { mptsas_log(mpt, CE_WARN, "mptsas_ioc_task_management failed " "try to reset ioc to recovery!"); mpt->m_softstate &= ~MPTSAS_SS_MSG_UNIT_RESET; ! if (mptsas_restart_ioc(mpt)) { mptsas_log(mpt, CE_WARN, "mptsas_restart_ioc failed"); rval = FAILED; } } return (rval); } --- 1201,1219 ---- */ if (rval == FALSE) { mptsas_log(mpt, CE_WARN, "mptsas_ioc_task_management failed " "try to reset ioc to recovery!"); mpt->m_softstate &= ~MPTSAS_SS_MSG_UNIT_RESET; ! /* Let's try this instead of the old codepath commented below... */ ! ddi_taskq_dispatch(mpt->m_reset_taskq, mptsas_handle_restart_ioc, (void *)mpt, DDI_SLEEP); ! mptsas_log(mpt,CE_WARN,"mptsas_restart_ioc dispatch attempted"); ! rval = FAILED; ! /* if (mptsas_restart_ioc(mpt)) { mptsas_log(mpt, CE_WARN, "mptsas_restart_ioc failed"); rval = FAILED; } + */ } return (rval); }