scsi: hisi_sas: add internal abort to hisi_sas_abort_task()
authorJohn Garry <john.garry@huawei.com>
Wed, 24 Aug 2016 11:05:49 +0000 (19:05 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 26 Aug 2016 02:38:54 +0000 (22:38 -0400)
commitdc8a49cabc73dea7c1c05c6648dcfc67dbd0d5fc
treedb4bb58ef0f12584b9e4268bfbbddc6f4d74810a
parent40f2702b57eb16ef918a0d328201043eb43438a3
scsi: hisi_sas: add internal abort to hisi_sas_abort_task()

Execute an internal abort for executing a task abort.
This is for case of the command still being present
in host when abort is executed.

For a SATA internal abort, we set abort for all tasks
associated with the device.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c