]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Set relogin flag when we fail to queue login requests.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 27 Jan 2016 17:03:37 +0000 (12:03 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit4f909dff98e6771dccac380e0fb8876484ce1b73
treee5b0c0fe5b28aa173e28095daf2d73cfe2c488cf
parent279fb0d4587d603ada47ac005e724bfaeaf7582c
qla2xxx: Set relogin flag when we fail to queue login requests.

If we fail to queue an srb for an async login we should set the
relogin flag so it will be retried as the reason for the queuing
failure was most likely transient.  Failure to do this can lead to
failed paths as login is never retried if the relogin flag is not
set.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c