]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Fix missing device login retries.
authorArun Easi <arun.easi@qlogic.com>
Tue, 4 Aug 2015 17:38:02 +0000 (13:38 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 00:49:23 +0000 (17:49 -0700)
commit1fe82d66f5618846d65fcfa86089e1795a2906e0
treed59607f635233ce4ab110dbeb2516227c2862b84
parenta64899b4b468ec6f71c33d88dd41847d1569ab32
qla2xxx: Fix missing device login retries.

On certain conditions, login failures will just invoke
qla2x00_mark_device_lost() with the intend to do login again;
but if login_retry has been set already, that would fail to set the
relogin needed flag which is required to wakeup the DPC to retry.

Signed-off-by: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_os.c