mpt3sas: Increase IOCInit request timeout to 30s
Subsystems (2)
Sreekanth Reddy
maintainerPATCH 1/1 mpt3sas: Increase IOCInit request timeout to 30s
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 <[email protected]>
--- drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/mpt3sas/mpt3sas_base.c +1 -1
@@ -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);
Signature · 1 line
2.18.4
Martin K. Petersen
AppliedQuoted 4 lines · Sreekanth Reddy
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
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering