scsi: ibmvfc: Open-code reset loop for target reset
authorHannes Reinecke <hare@suse.de>
Mon, 2 Oct 2023 15:43:20 +0000 (17:43 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Oct 2023 18:23:14 +0000 (14:23 -0400)
commit397ff21a962d8a5ac607abe21533e89a2387a713
tree294d3f19c334dca2f17ce31e8848d83e53a0aa7b
parentc67e63800446f9c72e362fe6f5e0c623fbe2e394
scsi: ibmvfc: Open-code reset loop for target reset

For target reset we need a device to send the target reset to, so open-code
the loop in target reset to send the target reset TMF to the correct
device.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20231002154328.43718-11-hare@suse.de
Cc: Tyrel Datwyler <tyreld@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi/ibmvfc.c