scsi: qla2xxx: flush IO on chip reset or sess delete
authorQuinn Tran <quinn.tran@cavium.com>
Fri, 25 Jan 2019 07:23:43 +0000 (23:23 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Feb 2019 02:41:16 +0000 (21:41 -0500)
commit51fd6e6351a62da87a7eb7b059d34056d73e68e5
treeb5f2e84d55922ccc46c2a103295a7b789b06ab43
parent80676d054e5a945f8192802b68093764fbf3c5fc
scsi: qla2xxx: flush IO on chip reset or sess delete

On Transmit respond in target mode, if the chip is already reset or the
session is already deleted, then advance the command to the free step.
There is no need to abort the command, because the chip has already flushed
it.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c