]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88ae8c92c201e00e7fb0dabcb508a81ad32cb60c
tree11174e26d4f226e779dcc6a30f5cfd62e18fd274
parentf447f6ec3febc6601a30b40e374a98242284ffb1
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