【标题描述】ltp执行proc01用例失败。
【环境信息】
硬件信息:
软件信息:
1) OS版本及分支:openEuler 21.09
2) 内核信息:5.10.0-5.3.0.18.oe1
3) 软件组件:ltp-20210524
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】
具体操作步骤:
./runltp -s proc01
出现概率:必现
【预期结果】
用例执行成功
【实际结果】
用例执行失败
【附件信息】
Hey mazenggang3, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
ltp中proc01用例错误原因:/proc/dirty/dirty为自研特性,开源ltp用例中没有对此进行特殊处理,可以通过执行echo 1024 > /proc/dirty/buffer_size,然后执行proc01用例不会有问题
自研特性fs/dirty_pages: dump the number of dirty pages for each inode
In order to analysing the IO performance when using buffer IO, it's
useful to obtain the number of dirty pages for a inode in the filesystem.
This feather is migrated from redhat-7.2.
It create 3 interfaces by using
profs.
/proc/dirty/buffer_size for buffer allocation and release;
/proc/dirty/page_threshold to filter result;
/proc/dirty/dirty_list to get dirty pages.
Visit http://openeuler.huawei.com/bugzilla/show_bug.cgi?id=23941
for details about modifications and implementations.
按照开发提供方法,重新复测后,问题不再出现,关闭此单
余快:打印脏页需要在内核申请一块buffer存储数据
登录 后才可以发表评论