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>
This commit is contained in:

committed by
Martin K. Petersen

parent
53db8fa8a3
commit
ad3120cfe0
@@ -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;
|
||||
|
Reference in New Issue
Block a user