SCSI: SSSRAID: Fix the bug that system automatically reboot when issue a 'pcie-linkdown' command
3snic inclusion category: bugfix feature: sssraid bugzilla: https://gitee.com/openeuler/kernel/issues/I6OUEK CVE: NA ------------------------------------------ [issue description] The system will restart abnormally when issue a 'pcie-linkdown' command [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 [Probability of occurrence] 100% [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. Signed-off-by:Steven Song <steven.song@3snic.com> Reviewed-by:
<liangry<liangry1@3snic.com> Reviewed-by:
Jiang <Yu<yujiang@3snic.com>
Loading
Please sign in to comment