Commit 1d48701c authored by Steven Song's avatar Steven Song
Browse files

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: default avatarSteven Song <steven.song@3snic.com>
Reviewed-by: default avatar <liangry&lt;liangry1@3snic.com>
Reviewed-by: default avatarJiang <Yu&lt;yujiang@3snic.com>
parent 07502d82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment