diff options
| author | James Smart <[email protected]> | 2019-04-03 18:10:34 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-04-04 03:35:09 +0000 |
| commit | 4eb01535886644d79a58fe652e0782a194bc3402 (patch) | |
| tree | 519df6f6b4b5801ec16c561f719066a3fa5d079c /lib/string_helpers.c | |
| parent | scsi: storvsc: Reduce default ring buffer size to 128 Kbytes (diff) | |
| download | kernel-4eb01535886644d79a58fe652e0782a194bc3402.tar.gz kernel-4eb01535886644d79a58fe652e0782a194bc3402.zip | |
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 <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
