]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/scsi/hisi_sas/hisi_sas_main.c
scsi: hisi_sas: Don't fail IT nexus reset for Open Reject timeout
authorLuo Jiaxing <luojiaxing@huawei.com>
Thu, 11 Apr 2019 12:46:43 +0000 (20:46 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 13 Apr 2019 01:30:12 +0000 (21:30 -0400)
commit246ea3c0ad02386ddfc1ea3031510da8cc86c892
tree11174e26d4f226e779dcc6a30f5cfd62e18fd274
parenta31157002778b18b886536a4329286516f21c1c1
scsi: hisi_sas: Don't fail IT nexus reset for Open Reject timeout

Currently we call hisi_sas_softreset_ata_disk() in
hisi_sas_I_T_nexus_reset().

If this fails for open reject reason, there is no reason to fail the IT
nexus reset, so only fail for TMF_RESP_FUNC_FAILED.

Some other strings spilled over multiple lines are reunited.

Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c