diff options
author | Mike Christie <michael.christie@oracle.com> | 2021-05-25 21:18:21 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-02 08:28:23 +0300 |
commit | ed1b86ba0fba3d586cd53057551a95197b0a37ad (patch) | |
tree | 0262500203ddd95c9b468e7c871369268de71fc2 /drivers/scsi/FlashPoint.c | |
parent | b40f3894e39ee10d519ef2447d7e56e92a1e0863 (diff) | |
download | linux-ed1b86ba0fba3d586cd53057551a95197b0a37ad.tar.xz |
scsi: qedi: Wake up if cmd_cleanup_req is set
If we got a response then we should always wake up the conn. For both the
cmd_cleanup_req == 0 or cmd_cleanup_req > 0, we shouldn't dig into
iscsi_itt_to_task because we don't know what the upper layers are doing.
We can also remove the qedi_clear_task_idx call here because once we signal
success libiscsi will loop over the affected commands and end up calling
the cleanup_task callout which will release it.
Link: https://lore.kernel.org/r/20210525181821.7617-29-michael.christie@oracle.com
Reviewed-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/FlashPoint.c')
0 files changed, 0 insertions, 0 deletions