diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2014-04-11 16:54:35 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 07:31:04 -0400 |
commit | 478c3b03cb1ead4be1b68345b38f3a2eba7494e7 (patch) | |
tree | 37d5a51a6b1c4bbdf3822cbf54881726db38af14 /drivers | |
parent | a018d8ffde82d15fff27f09875bc3c1a704b1a33 (diff) |
qla2xxx: Reduce the time we wait for a command to complete during SCSI error handling.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 8f1a098d270e..d1a76a6da6e2 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -781,7 +781,7 @@ static int | |||
781 | qla2x00_eh_wait_on_command(struct scsi_cmnd *cmd) | 781 | qla2x00_eh_wait_on_command(struct scsi_cmnd *cmd) |
782 | { | 782 | { |
783 | #define ABORT_POLLING_PERIOD 1000 | 783 | #define ABORT_POLLING_PERIOD 1000 |
784 | #define ABORT_WAIT_ITER ((10 * 1000) / (ABORT_POLLING_PERIOD)) | 784 | #define ABORT_WAIT_ITER ((2 * 1000) / (ABORT_POLLING_PERIOD)) |
785 | unsigned long wait_iter = ABORT_WAIT_ITER; | 785 | unsigned long wait_iter = ABORT_WAIT_ITER; |
786 | scsi_qla_host_t *vha = shost_priv(cmd->device->host); | 786 | scsi_qla_host_t *vha = shost_priv(cmd->device->host); |
787 | struct qla_hw_data *ha = vha->hw; | 787 | struct qla_hw_data *ha = vha->hw; |