aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_init.c
diff options
context:
space:
mode:
authorLuo Jiaxing <[email protected]>2019-04-11 12:46:42 +0000
committerMartin K. Petersen <[email protected]>2019-04-13 01:30:12 +0000
commita31157002778b18b886536a4329286516f21c1c1 (patch)
treeff4dd2aadbad3ae48bc20e9aa1ecaa0ef3028be6 /drivers/scsi/libsas/sas_init.c
parentscsi: hisi_sas: Support all RAS events with MSI interrupts (diff)
downloadkernel-a31157002778b18b886536a4329286516f21c1c1.tar.gz
kernel-a31157002778b18b886536a4329286516f21c1c1.zip
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 <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions