On 18.12.2015 14:26, Sumit Saxena wrote: > This patch will do proper error handling for DCMD timeout and failed cases for fusion adapters. > Below are few key design points- > 1. For MFI adapters, in case of DCMD timeout(DCMD which must return SUCCESS) driver will call kill adapter. > 2. What action needs to be taken in case of DCMD timeout is decided by function dcmd_timeout_ocr_possible(). > DCMD timeout causing OCR is applicable to below DCMDs- > > MR_DCMD_PD_LIST_QUERY > MR_DCMD_LD_GET_LIST > MR_DCMD_LD_LIST_QUERY > MR_DCMD_CTRL_SET_CRASH_DUMP_PARAMS > MR_DCMD_SYSTEM_PD_MAP_GET_INFO(for non pended DCMD) > MR_DCMD_LD_MAP_GET_INFO(for non pended DCMD) > > 3. If DCMD fails from Driver init path, there are certain DCMD which is must to be return SUCCESS. If those DCMD fails, > driver bail out load. For optional DCMD like pd_info etc, driver continue without executing certain functionality. > > Signed-off-by: Sumit Saxena <sumit.saxena@xxxxxxxxxxxxx> > Signed-off-by: Kashyap Desai <kashyap.desai@xxxxxxxxxxxxx> Reviewed-by: Tomas Henzl <thenzl@xxxxxxxxxx> Tomas -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html