diff options
author | Hannes Reinecke | 2016-10-13 15:10:53 +0200 |
---|---|---|
committer | Martin K. Petersen | 2016-11-08 17:29:53 -0500 |
commit | ad3120cfe0c5dcd5aaa87a0f7c42d4b09a94fa12 (patch) | |
tree | 760633f790f0cbe6537ba48f10dac3f5889f76f0 /include/scsi | |
parent | 53db8fa8a3b37d076f89bac67095e1381a2fb19a (diff) |
scsi: libfc: reset timeout on queue full
When we're receiving a timeout we should be checking for queue
full status; if there are still some packets pending we should
be resetting the counter to ensure we're not missing out any
packets which are still queued.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 8cb752f8d12b..f5aa54b40e75 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -355,7 +355,8 @@ struct fc_fcp_pkt { /* Timeout/error related information */ struct timer_list timer; - int wait_for_comp; + int wait_for_comp; + int timer_delay; u32 recov_retry; struct fc_seq *recov_seq; struct completion tm_done; |