summaryrefslogtreecommitdiff
path: root/drivers/scsi/mpi3mr/mpi3mr.h
diff options
context:
space:
mode:
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>2022-05-06 00:18:08 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2022-05-10 22:14:34 -0400
commit1aa529d400253eda76733dbb95b62f6cca7b274a (patch)
treef5beb8a64e123eae0a956732e2c3f6ff4a8bed03 /drivers/scsi/mpi3mr/mpi3mr.h
parentfcb9e738667c874cbff0b240b96a895901f09ee0 (diff)
downloadlinux-1aa529d400253eda76733dbb95b62f6cca7b274a.tar.gz
linux-1aa529d400253eda76733dbb95b62f6cca7b274a.tar.bz2
linux-1aa529d400253eda76733dbb95b62f6cca7b274a.zip
scsi: mpi3mr: Increase I/O timeout value to 60s
Set each SCSI device's default I/O timeout and default error handling I/O timeout to 60s. Link: https://lore.kernel.org/r/20220505184808.24049-3-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi3mr.h')
-rw-r--r--drivers/scsi/mpi3mr/mpi3mr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/mpi3mr/mpi3mr.h b/drivers/scsi/mpi3mr/mpi3mr.h
index 8612b66b7d03..584659e2c578 100644
--- a/drivers/scsi/mpi3mr/mpi3mr.h
+++ b/drivers/scsi/mpi3mr/mpi3mr.h
@@ -124,6 +124,9 @@ extern atomic64_t event_counter;
#define MPI3MR_WATCHDOG_INTERVAL 1000 /* in milli seconds */
+#define MPI3MR_SCMD_TIMEOUT (60 * HZ)
+#define MPI3MR_EH_SCMD_TIMEOUT (60 * HZ)
+
/* Internal admin command state definitions*/
#define MPI3MR_CMD_NOTUSED 0x8000
#define MPI3MR_CMD_COMPLETE 0x0001