diff options
author | John Garry <john.garry@huawei.com> | 2022-02-17 23:42:42 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-02-19 15:59:36 -0500 |
commit | e8585452953a040a6d1d901e5b2e8c327f09e219 (patch) | |
tree | 77ee90af550d60c00f7a6bd63b09795f6ff19c46 /include/scsi | |
parent | 69b80a0ed0b5d0c54ee1618eb5a015699e8c47c5 (diff) | |
download | linux-e8585452953a040a6d1d901e5b2e8c327f09e219.tar.gz linux-e8585452953a040a6d1d901e5b2e8c327f09e219.tar.bz2 linux-e8585452953a040a6d1d901e5b2e8c327f09e219.zip |
scsi: libsas: Add sas_clear_task_set()
Add a generic implementation of clear task set TMF handler, and use in
LLDDs.
Link: https://lore.kernel.org/r/1645112566-115804-15-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>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libsas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index 53fdc18bdd09..f71a47740ff8 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -723,6 +723,7 @@ struct sas_phy *sas_get_local_phy(struct domain_device *dev); int sas_request_addr(struct Scsi_Host *shost, u8 *addr); int sas_abort_task_set(struct domain_device *dev, u8 *lun); +int sas_clear_task_set(struct domain_device *dev, u8 *lun); int sas_notify_port_event(struct asd_sas_phy *phy, enum port_event event, gfp_t gfp_flags); |