Message ID | 20201130082733.26120-1-sreekanth.reddy@broadcom.com |
---|---|
State | New |
Headers | show |
Series | mpt3sas: Increase IOCInit request timeout to 30s | expand |
On Mon, 30 Nov 2020 13:57:33 +0530, Sreekanth Reddy wrote: > Currently IOCInit request message timeout is set to 10s, > which may not be sufficient in some scenarios such as HBA > FW downgrade operation. So, increasing IOCInit request > timeout to 30s. Applied to 5.10/scsi-fixes, thanks! [1/1] mpt3sas: Increase IOCInit request timeout to 30s https://git.kernel.org/mkp/scsi/c/85dad327d9b5 -- Martin K. Petersen Oracle Linux Engineering
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index b129f37..0bc3796 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_base.c +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c @@ -6881,7 +6881,7 @@ _base_send_ioc_init(struct MPT3SAS_ADAPTER *ioc) r = _base_handshake_req_reply_wait(ioc, sizeof(Mpi2IOCInitRequest_t), (u32 *)&mpi_request, - sizeof(Mpi2IOCInitReply_t), (u16 *)&mpi_reply, 10); + sizeof(Mpi2IOCInitReply_t), (u16 *)&mpi_reply, 30); if (r != 0) { ioc_err(ioc, "%s: handshake failed (r=%d)\n", __func__, r);
Currently IOCInit request message timeout is set to 10s, which may not be sufficient in some scenarios such as HBA FW downgrade operation. So, increasing IOCInit request timeout to 30s. Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> --- drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)