]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 28 Jan 2016 22:24:22 +0000 (17:24 -0500)
commitf8b95efcc008b9516ac692381fb1550ada26fdd5
treebd769abe0260a61c0c4dc312e7b8b8dd7bf9d5eb
parent6e1ab8496212952330201fa30c0eeb5eb73c7163
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