scsi: libfc: reset timeout on queue full
authorHannes Reinecke <hare@suse.de>
Thu, 13 Oct 2016 13:10:53 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:53 +0000 (17:29 -0500)
commitad3120cfe0c5dcd5aaa87a0f7c42d4b09a94fa12
tree760633f790f0cbe6537ba48f10dac3f5889f76f0
parent53db8fa8a3b37d076f89bac67095e1381a2fb19a
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>
drivers/scsi/libfc/fc_fcp.c
include/scsi/libfc.h