scsi: libsas: Add TMF handler aborted callback
The hisi_sas and pm8001 TMF handlers have some special processing for when the TMF is aborted, so add a callback and fill it in for those drivers. Link: https://lore.kernel.org/r/1645112566-115804-13-git-send-email-john.garry@huawei.com Tested-by: Yihang Li <liyihang6@hisilicon.com> Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
2037a34031
commit
693e66a0a6
@@ -654,6 +654,7 @@ struct sas_domain_function_template {
|
||||
|
||||
/* Special TMF callbacks */
|
||||
void (*lldd_tmf_exec_complete)(struct domain_device *dev);
|
||||
void (*lldd_tmf_aborted)(struct sas_task *task);
|
||||
|
||||
/* Port and Adapter management */
|
||||
int (*lldd_clear_nexus_port)(struct asd_sas_port *);
|
||||
|
||||
Reference in New Issue
Block a user