401 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

【OLK-5.10】io hung住时 iostat 平均队列长度显示为0

已完成
任务
创建于  
2022-05-17 10:44

问题根因:

iostat计算平均队列长度时读取的是diskstats的nsecs字段,更新接口为:

part_stat_add(rq, nsecs[], xxx);

该接口目前只有在io完成时才更新,因此io hung住时无法更新

修复方案:

在iostat触发读取该字段时,主动去更新

评论 (1)

Yu Kuai 创建了任务

Hi hailan94, 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: @YangYingliang , @pi3orama , @成坚 (CHENG Jian) , @jiaoff , @zhengzengkai , @刘勇强 , @Qiuuuuu , @Xie XiuQi

openeuler-ci-bot 添加了
 
sig/Kernel
标签
Yu Kuai 修改了描述
zhengzengkai 通过src-openeuler/kernel Pull Request !680任务状态待办的 修改为已完成

登录 后才可以发表评论

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

搜索帮助