【标题描述】盘被锁后芯片默认超时时间偏小引发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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论