Skip to content

Commit 85dad32

Browse files
sreekanthbrcmmartinkpetersen
authored andcommitted
scsi: mpt3sas: Increase IOCInit request timeout to 30s
Currently the IOCInit request message timeout is set to 10s. This is not sufficient in some scenarios such as during HBA FW downgrade operations. Increase the IOCInit request timeout to 30s. Link: https://lore.kernel.org/r/20201130082733.26120-1-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 42f6870 commit 85dad32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/scsi/mpt3sas/mpt3sas_base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6459,7 +6459,7 @@ _base_send_ioc_init(struct MPT3SAS_ADAPTER *ioc)
64596459

64606460
r = _base_handshake_req_reply_wait(ioc,
64616461
sizeof(Mpi2IOCInitRequest_t), (u32 *)&mpi_request,
6462-
sizeof(Mpi2IOCInitReply_t), (u16 *)&mpi_reply, 10);
6462+
sizeof(Mpi2IOCInitReply_t), (u16 *)&mpi_reply, 30);
64636463

64646464
if (r != 0) {
64656465
ioc_err(ioc, "%s: handshake failed (r=%d)\n", __func__, r);

0 commit comments

Comments
 (0)