scsi: megaraid_sas: increase timeout for IOC INIT to 180seconds
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Wed, 17 Oct 2018 06:37:54 +0000 (23:37 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 01:33:57 +0000 (20:33 -0500)
IOC INIT frame needs to be fired with a timeout of 180 seconds.

Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c

index a26abc041435ee2b482209f8c6487814d2899c25..c5e6bccb08956a78b2c6f87c2ffb095168c0e7dc 100644 (file)
@@ -1113,7 +1113,7 @@ megasas_ioc_init_fusion(struct megasas_instance *instance)
 
        megasas_fire_cmd_fusion(instance, &req_desc);
 
-       wait_and_poll(instance, cmd, MFI_POLL_TIMEOUT_SECS);
+       wait_and_poll(instance, cmd, MFI_IO_TIMEOUT_SECS);
 
        frame_hdr = &cmd->frame->hdr;
        if (frame_hdr->cmd_status != 0) {