428 Star 1.6K Fork 1.6K

GVPopenEuler/kernel

 / 详情

盘被锁后芯片默认超时时间偏小引发IO异常完成

已完成
任务
创建于  
2024-04-02 17:11

【标题描述】盘被锁后芯片默认超时时间偏小引发IO异常完成
【环境信息】
硬件信息:
1) 鲲鹏920
软件信息:
os: openEuler-20.03-LTS-SP3
kernel: kernel-4.19.90-2112.8.0.0131.oe1
【问题复现步骤】
盘发起DMA Setup帧后,回数据耗时比较久 或 读数据过程踩到坏道,盘内反复retry时。基于协议此时不能给盘下发新IO,可能会导致芯片内排队的新IO长时间不能下发给盘,触发芯片内部超时,导致芯片对这些新IO异常终止掉。
出现概率:2%

The sata disk will be locked after the disk sends the DMA Setup frame until
all data frame transmission is completed. The CFG_ICT_TIMER_STEP_TRSH
register is used for sata disk to configure the step size of the timer
which records the time when the disk is locked. The unit is 1us and the
default step size is 150ms. If the disk is locked for more than 7 timer
steps, the io to be sent to the disk will end abnormally.

The current timeout is only about 1 second, it is easy to trigger IO
abnormal end when the SATA hard disk returns data slowly. Adjust the
timeout to 7 seconds based on ERC time of most disks.

评论 (1)

Hi jamyyxg, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

jamyyxg 创建了任务 1年前
openeuler-ci-bot 添加了
 
sig/Kernel
标签
1年前
ci-robot 通过合并 Pull Request !5874: scsi: hisi_sas: Update disk locked timeout to 7 seconds任务状态待办的 修改为已完成 1年前
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 jamyyxg-jamyyxg
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助