diff options
author | Luo Jiaxing <luojiaxing@huawei.com> | 2019-04-11 20:46:42 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-04-12 21:30:12 -0400 |
commit | a31157002778b18b886536a4329286516f21c1c1 (patch) | |
tree | ff4dd2aadbad3ae48bc20e9aa1ecaa0ef3028be6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3168d4f800b874b2f574ae9c20cbb1a0bc551028 (diff) |
scsi: hisi_sas: Don't hard reset disk during controller reset
In the function of hisi_sas_init_device(), we added ops->hardreset() to
clear affiliation of STP target port or handle [STP pending] state.
Function hisi_sas_init_device() will be called when a device is found or
during controller reset. At controller reset, we call
hisi_sas_init_device() to re-init the disks, so calling hardreset() is
unnecessary and it also will cause some delay at controller reset.
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions