mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 10:46:50 +07:00
b09fdc3aac
We need to add a bus reset no-op as without it some of the LUNs attached to a vport may go offline when the error handler escalates to host reset due to not having a bus reset handler in the driver. What happens is we escalate to host reset which does a soft link down/link up to reset the adapter. However with multiple vports attached it's been observed that if the vports do log back into the target within 5 seconds, the SCSI layer offlines the devices most likely due to a TUR timing out to verify that the device is online. Adding a bus reset handler will cause the TUR to be sent after the bus reset handler where the devices will still be online if the bus reset is initiated by sg_reset (which is the case in the test that was failing). The bus reset will succeed and not needlessly bring the device offline/online. Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> |
||
---|---|---|
.. | ||
drv_fcoe_fw_funcs.c | ||
drv_fcoe_fw_funcs.h | ||
drv_scsi_fw_funcs.c | ||
drv_scsi_fw_funcs.h | ||
Kconfig | ||
Makefile | ||
qedf_attr.c | ||
qedf_dbg.c | ||
qedf_dbg.h | ||
qedf_debugfs.c | ||
qedf_els.c | ||
qedf_fip.c | ||
qedf_hsi.h | ||
qedf_io.c | ||
qedf_main.c | ||
qedf_version.h | ||
qedf.h |