!508 SCSI: SSSRAID: Fix the bug that system automatically reboot when issue a...
!508 SCSI: SSSRAID: Fix the bug that system automatically reboot when issue a 'pcie-linkdown' command Merge Pull Request from: @steven-song3 [steps to reproduce the bug] 1. Create classic RAID1 and RAID5 2. Issue read & write mixed I/O to the drive letters corresponding to RAID1 and RAID5 3. In the process of reading and writing I/O,issue a 'pcie-linkdown' command by a serial port [Expected results] The I/O rate is 0 temporarily, and after a period of time the IO is interrupted, the system will not automatically restart, and the RAID card will not be unhealthy after manual restart. [Root cause] 'pcie-linkdown' will trigger I/O timeout and firmware hang dead, and driver will try to access firmware when it dead, Multiple accesses cause this bug. [Solution] Remove communication with firmware in I/O timeout process when firmware hang dead. Link:https://gitee.com/openeuler/kernel/pulls/508 Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录