James Smart 4eb0153588 scsi: lpfc: Fix missing wakeups on abort threads
Abort thread wakeups, on some wqe types, are not happening.  The thread
wakeup logic is dependent upon the LPFC_DRIVER_ABORTED flag. However, on
these wqes, the completion handler running prior to the io completion
routine ends up clearing the flag.

Rework the wakeup logic to look at a non-null waitq element which must be
set if the abort thread is waiting. This is reverting the change in the
indicated patch.

Fixes: c2017260eea2d ("scsi: lpfc: Rework locking on SCSI io completion")
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-04-03 23:35:09 -04:00
..
2018-12-18 23:19:21 -05:00
2019-03-09 16:53:47 -08:00
2019-03-09 16:53:47 -08:00
2019-03-09 16:53:47 -08:00
2019-03-09 16:53:47 -08:00
2019-03-09 16:53:47 -08:00
2019-03-09 16:53:47 -08:00
2019-03-09 16:53:47 -08:00
2019-03-16 12:51:50 -07:00
2019-01-20 09:15:04 +12:00
2019-03-09 16:53:47 -08:00
2019-03-16 12:51:50 -07:00
2019-03-16 12:51:50 -07:00
2017-12-04 20:32:53 -05:00
2019-03-02 11:39:54 -08:00
2018-12-18 23:19:21 -05:00
2018-12-18 23:19:21 -05:00
2018-06-19 22:02:25 -04:00
2018-12-18 23:19:21 -05:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:58:35 -05:00
2018-12-18 23:19:21 -05:00
2018-12-28 14:48:06 -08:00
2018-12-18 23:13:12 -05:00
2018-12-18 23:19:21 -05:00
2018-11-06 21:31:28 -05:00
2019-03-09 16:53:47 -08:00
2019-03-16 12:51:50 -07:00
2018-12-18 23:19:21 -05:00
2019-02-05 21:28:52 -05:00
2019-03-09 16:53:47 -08:00
2018-12-28 14:48:06 -08:00
2018-12-18 23:13:12 -05:00
2019-03-09 16:53:47 -08:00
2017-11-14 16:23:44 -08:00
2018-11-07 13:42:32 -07:00
2018-11-07 13:42:32 -07:00
2018-06-04 07:58:06 -07:00
2019-02-27 09:19:24 -05:00
2018-06-19 22:02:25 -04:00
2019-02-12 22:33:00 -05:00
2018-06-12 16:19:22 -07:00
2018-12-18 23:19:21 -05:00
2019-02-05 21:29:49 -05:00
2018-12-18 23:19:21 -05:00
2018-12-28 14:48:06 -08:00